Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

dummypluginimpl.cpp

Go to the documentation of this file.
00001 #include "dummypluginimpl.h"
00002 
00003 using Opie::Security::MultiauthPluginInterface;
00004 using Opie::Security::MultiauthPluginObject;
00005 
00006 DummyPluginImpl::DummyPluginImpl() {
00007     dummyPlugin  = new DummyPlugin();
00008 }
00009 
00010 DummyPluginImpl::~DummyPluginImpl() {
00011     delete dummyPlugin;
00012 }
00013 
00014 MultiauthPluginObject* DummyPluginImpl::plugin() {
00015     return dummyPlugin;
00016 }
00017 
00018 Q_EXPORT_INTERFACE() {
00019     Q_CREATE_INSTANCE( DummyPluginImpl )
00020 }
00021 
00022 QRESULT DummyPluginImpl::queryInterface( const QUuid & uuid,  QUnknownInterface **iface ) {
00023     *iface = 0;
00024     if ( ( uuid == IID_QUnknown ) || ( uuid == IID_MultiauthPluginInterface ) )  {
00025         *iface = this, (*iface)->addRef();
00026     } else {
00027         return QE_NOINTERFACE;
00028     }
00029     return QS_OK;
00030 
00031 }

Generated on Sat Nov 5 16:17:46 2005 for OPIE by  doxygen 1.4.2