Ignore:
Timestamp:
Dec 16, 2015, 5:57:05 PM (7 years ago)
Author:
mikedld
Message:

Refactor DBus IPC to allow for further extensibility

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/qt/InteropObject.h

    r14620 r14621  
    88 */
    99
    10 #ifndef QTR_DBUS_ADAPTOR_H
    11 #define QTR_DBUS_ADAPTOR_H
     10#ifndef QTR_INTEROP_OBJECT_H
     11#define QTR_INTEROP_OBJECT_H
    1212
    13 #include <QDBusAbstractAdaptor>
     13#include <QObject>
    1414
    15 class Application;
    16 
    17 class DBusAdaptor: public QDBusAbstractAdaptor
     15class InteropObject: public QObject
    1816{
    1917    Q_OBJECT
     
    2119
    2220  public:
    23     DBusAdaptor (Application *);
    24     virtual ~DBusAdaptor () {}
     21    InteropObject (QObject * parent = nullptr);
    2522
    2623  public slots:
    2724    bool PresentWindow ();
    28     bool AddMetainfo (const QString&);
    29 
    30   private:
    31     Application * myApp;
     25    bool AddMetainfo (const QString& metainfo);
    3226};
    3327
    34 #endif // QTR_DBUS_ADAPTOR_H
     28#endif // QTR_INTEROP_OBJECT_H
Note: See TracChangeset for help on using the changeset viewer.