2014-11-30 01:52:43 +00:00
|
|
|
#include "protocol.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.
|
|
|
|
*
|
|
|
|
*/
|
2016-06-16 09:16:35 +01:00
|
|
|
class KDEConnectTelepathyProtocolFactory
|
2014-11-30 01:52:43 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
static ConnectProtocolPtr interface();
|
|
|
|
private:
|
|
|
|
static Tp::WeakPtr<KDEConnectTelepathyProtocol> s_interface;
|
|
|
|
};
|