homescreenapp/hsdomainmodel/inc/hsipcchannelclient.h
changeset 35 f9ce957a272c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/homescreenapp/hsdomainmodel/inc/hsipcchannelclient.h	Fri Mar 19 09:27:44 2010 +0200
@@ -0,0 +1,22 @@
+#ifndef HSIPCCHANNELCLIENT_H
+#define HSIPCCHANNELCLIENT_H
+
+#include "hsipcchannel.h"
+
+class HSDOMAINMODEL_EXPORT HsIpcChannelClient : public HsIpcChannel
+{
+    Q_OBJECT
+public:
+    HsIpcChannelClient(QObject *parent = 0);
+    ~HsIpcChannelClient();
+
+    bool openConnection(const QString &serverName);
+    bool waitForOpenConnection(const QString &serverName);
+    void closeConnection();
+    bool waitForCloseConnection();
+
+private slots:
+    void onConnected();
+};
+
+#endif