kdeconnect-kde/telepathy-cm/kdeconnecttelepathyprotocolfactory.h

19 lines
458 B
C
Raw Normal View History

#include "protocol.h"
#include "connectcm_export.h"
typedef Tp::SharedPtr<KDEConnectTelepathyProtocol> ConnectProtocolPtr;
/*
* SingletonFactory for plugins to get access to the Telepathy connection manager
* Whilst the main process also holds a reference.
*
*/
class CONNECTCM_EXPORT KDEConnectTelepathyProtocolFactory
{
public:
static ConnectProtocolPtr interface();
private:
static Tp::WeakPtr<KDEConnectTelepathyProtocol> s_interface;
};