homescreenapp/hsdomainmodel/inc/hsipcconnectiondispatcher.h
changeset 36 cdae8c6c3876
parent 35 f9ce957a272c
child 39 4e8ebe173323
equal deleted inserted replaced
35:f9ce957a272c 36:cdae8c6c3876
     1 #ifndef HSIPCCONNECTIONDISPATCHER_H
       
     2 #define HSIPCCONNECTIONDISPATCHER_H
       
     3 
       
     4 #include <QObject>
       
     5 #include <QVariant>
       
     6 #include "hsdomainmodel_global.h"
       
     7 
       
     8 class HsIpcServer;
       
     9 class HsContentPublishHandler;
       
    10 
       
    11 class HSDOMAINMODEL_EXPORT HsIpcConnectionDispatcher : public QObject
       
    12 {
       
    13     Q_OBJECT
       
    14 
       
    15 public:
       
    16     HsIpcConnectionDispatcher(const QString &connectionName,QObject *parent=0);
       
    17     ~HsIpcConnectionDispatcher();
       
    18 
       
    19     bool start();
       
    20     void stop();
       
    21 private slots:
       
    22     void onConnectionEstablished();
       
    23 
       
    24 private:
       
    25     QString mConnectionName;
       
    26     HsIpcServer *mIpcServer;
       
    27 };
       
    28 
       
    29 #endif // HSIPCCONNECTIONDISPATCHER_H