LibreOffice Module vcl (master)  1
IDialogRenderable.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  */
10 
11 #ifndef INCLUDED_VCL_IDIALOGRENDERABLE_HXX
12 #define INCLUDED_VCL_IDIALOGRENDERABLE_HXX
13 
14 #include <config_options.h>
15 #include <vcl/dllapi.h>
16 
17 #include <rtl/ustring.hxx>
18 
19 #include <vector>
20 
21 class SfxItemSet;
22 
23 namespace vcl
24 {
25 
26 typedef std::pair<const OString, const OString> LOKPayloadItem;
27 
28 typedef sal_uInt32 LOKWindowId;
29 
30 class UNLESS_MERGELIBS(VCL_DLLPUBLIC) ILibreOfficeKitNotifier
31 {
32 public:
33  virtual ~ILibreOfficeKitNotifier();
34 
36  virtual void notifyWindow(vcl::LOKWindowId nLOKWindowId,
37  const OUString& rAction,
38  const std::vector<LOKPayloadItem>& rPayload = std::vector<LOKPayloadItem>()) const = 0;
39 
40  virtual void libreOfficeKitViewCallback(int nType, const char* pPayload) const = 0;
41 };
42 
43 } // namespace vcl
44 
45 #endif // INCLUDED_VCL_IDIALOGRENDERABLE_HXX
46 
47 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sal_uInt32 LOKWindowId
std::pair< const OString, const OString > LOKPayloadItem
QPRO_FUNC_TYPE nType