mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-16 02:06:08 +08:00
Ref T709 Encapsulate the CSettingsProvider pointer in a CSettingsAware base class.
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
namespace XSwiftBus
|
||||
{
|
||||
//! DBus base object
|
||||
class CDBusObject
|
||||
class CDBusObject : public CSettingsAware
|
||||
{
|
||||
public:
|
||||
//! Constructor
|
||||
@@ -80,14 +80,6 @@ namespace XSwiftBus
|
||||
//! Invoke all pending DBus calls. They will be executed in the calling thread.
|
||||
void invokeQueuedDBusCalls();
|
||||
|
||||
//! Get the settings
|
||||
CSettings getSettings() const;
|
||||
|
||||
//! Set the settings
|
||||
bool setSettings(const CSettings &s);
|
||||
|
||||
CSettingsProvider *m_settingsProvider; //!< get the settings from here
|
||||
|
||||
private:
|
||||
static void dbusObjectPathUnregisterFunction(DBusConnection *connection, void *data);
|
||||
static DBusHandlerResult dbusObjectPathMessageFunction(DBusConnection *connection, DBusMessage *message, void *data);
|
||||
|
||||
Reference in New Issue
Block a user