19 lines
458 B
C
19 lines
458 B
C
|
#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;
|
||
|
};
|