Fcitx
objectvtable_p_libdbus.h
1 /*
2  * SPDX-FileCopyrightText: 2016-2016 CSSlayer <wengxt@gmail.com>
3  *
4  * SPDX-License-Identifier: LGPL-2.1-or-later
5  *
6  */
7 #ifndef _FCITX_UTILS_DBUS_OBJECTVTABLE_P_H_
8 #define _FCITX_UTILS_DBUS_OBJECTVTABLE_P_H_
9 
10 #include <map>
11 #include <memory>
12 #include <string>
13 #include "../objectvtable.h"
14 
15 namespace fcitx::dbus {
16 class DBusObjectVTableSlot;
17 
19 public:
21 
22  const std::string &getXml(ObjectVTableBase *q);
23 
24  std::map<std::string, ObjectVTableMethod *> methods_;
25  std::map<std::string, ObjectVTableProperty *> properties_;
26  std::map<std::string, ObjectVTableSignal *> sigs_;
27  std::unique_ptr<DBusObjectVTableSlot> slot_;
28  Message *msg_ = nullptr;
29 };
30 } // namespace fcitx::dbus
31 
32 #endif // _FCITX_UTILS_DBUS_OBJECTVTABLE_P_H_
Basic DBus type of a DBus message.
Definition: message.h:224