homescreenapp/hsdomainmodel/inc/hsipcchannelclient.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 19 Mar 2010 09:27:44 +0200
changeset 35 f9ce957a272c
permissions -rw-r--r--
Revision: 201007 Kit: 201011

#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