summaryrefslogtreecommitdiff
path: root/noncore/securityplugins/pin/pinpluginimpl.cpp
Side-by-side diff
Diffstat (limited to 'noncore/securityplugins/pin/pinpluginimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/securityplugins/pin/pinpluginimpl.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/securityplugins/pin/pinpluginimpl.cpp b/noncore/securityplugins/pin/pinpluginimpl.cpp
index 1c32f81..6cd2467 100644
--- a/noncore/securityplugins/pin/pinpluginimpl.cpp
+++ b/noncore/securityplugins/pin/pinpluginimpl.cpp
@@ -1,28 +1,31 @@
#include "pinpluginimpl.h"
+using Opie::Security::MultiauthPluginObject;
+using Opie::Security::MultiauthPluginInterface;
+
PinPluginImpl::PinPluginImpl() {
pinPlugin = new PinPlugin();
}
PinPluginImpl::~PinPluginImpl() {
delete pinPlugin;
}
MultiauthPluginObject* PinPluginImpl::plugin() {
return pinPlugin;
}
Q_EXPORT_INTERFACE() {
Q_CREATE_INSTANCE( PinPluginImpl )
}
QRESULT PinPluginImpl::queryInterface( const QUuid & uuid, QUnknownInterface **iface ) {
*iface = 0;
if ( ( uuid == IID_QUnknown ) || ( uuid == IID_MultiauthPluginInterface ) ) {
*iface = this, (*iface)->addRef();
} else {
return QE_NOINTERFACE;
}
return QS_OK;
}