equal
deleted
inserted
replaced
103 |
103 |
104 */ |
104 */ |
105 NmDataPluginInterface *NmDataPluginFactory::interfaceInstance(NmId mailboxId) |
105 NmDataPluginInterface *NmDataPluginFactory::interfaceInstance(NmId mailboxId) |
106 { |
106 { |
107 return interfaceInstance(pluginInstance(mailboxId)); |
107 return interfaceInstance(pluginInstance(mailboxId)); |
|
108 } |
|
109 |
|
110 /*! |
|
111 |
|
112 */ |
|
113 NmApplicationStateInterface *NmDataPluginFactory::applicationStateInterfaceInstance(QObject *plugin) |
|
114 { |
|
115 NmApplicationStateInterface *pluginInterface = NULL; |
|
116 if (plugin) { |
|
117 pluginInterface= qobject_cast<NmApplicationStateInterface*>(plugin); |
|
118 } |
|
119 return pluginInterface; |
|
120 } |
|
121 |
|
122 /*! |
|
123 |
|
124 */ |
|
125 NmApplicationStateInterface *NmDataPluginFactory::applicationStateInterfaceInstance(NmId mailboxId) |
|
126 { |
|
127 return applicationStateInterfaceInstance(pluginInstance(mailboxId)); |
108 } |
128 } |
109 |
129 |
110 /*! |
130 /*! |
111 |
131 |
112 */ |
132 */ |