Commit eb58c4cd authored by Laurent Montel's avatar Laurent Montel 😁

initialize plugins

parent 493205cd
......@@ -41,12 +41,21 @@ Q_GLOBAL_STATIC(MailNetworkUlrInterceptorPluginManagerInstancePrivate, sInstance
class MessageViewer::MailNetworkUlrInterceptorPluginManagerPrivate
{
public:
MailNetworkUlrInterceptorPluginManagerPrivate()
MailNetworkUlrInterceptorPluginManagerPrivate(MailNetworkUlrInterceptorPluginManager *qq)
: q(qq)
{
}
void initializePluginList();
MailNetworkUlrInterceptorPluginManager *q;
};
void MailNetworkUlrInterceptorPluginManagerPrivate::initializePluginList()
{
//TODO
}
MailNetworkUlrInterceptorPluginManager *MailNetworkUlrInterceptorPluginManager::self()
{
return sInstance->mailNetworkUrlInterceptorPluginManager;
......@@ -54,12 +63,13 @@ MailNetworkUlrInterceptorPluginManager *MailNetworkUlrInterceptorPluginManager::
MailNetworkUlrInterceptorPluginManager::MailNetworkUlrInterceptorPluginManager(QObject *parent)
: QObject(parent),
d(new MailNetworkUlrInterceptorPluginManagerPrivate)
d(new MailNetworkUlrInterceptorPluginManagerPrivate(this))
{
d->initializePluginList();
}
MailNetworkUlrInterceptorPluginManager::~MailNetworkUlrInterceptorPluginManager()
{
delete d;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment