homescreenapp/hsdomainmodel/inc/hsipcchannelclient.h
changeset 36 cdae8c6c3876
parent 35 f9ce957a272c
child 39 4e8ebe173323
equal deleted inserted replaced
35:f9ce957a272c 36:cdae8c6c3876
     1 #ifndef HSIPCCHANNELCLIENT_H
       
     2 #define HSIPCCHANNELCLIENT_H
       
     3 
       
     4 #include "hsipcchannel.h"
       
     5 
       
     6 class HSDOMAINMODEL_EXPORT HsIpcChannelClient : public HsIpcChannel
       
     7 {
       
     8     Q_OBJECT
       
     9 public:
       
    10     HsIpcChannelClient(QObject *parent = 0);
       
    11     ~HsIpcChannelClient();
       
    12 
       
    13     bool openConnection(const QString &serverName);
       
    14     bool waitForOpenConnection(const QString &serverName);
       
    15     void closeConnection();
       
    16     bool waitForCloseConnection();
       
    17 
       
    18 private slots:
       
    19     void onConnected();
       
    20 };
       
    21 
       
    22 #endif