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

mailpluginimpl.cpp

Go to the documentation of this file.
00001 /*
00002  * mailpluginimpl.cpp
00003  *
00004  * copyright   : (c) 2002,2003,2004 by Maximilian Reiß
00005  * email       : harlekin@handhelds.org
00006  *
00007  */
00008 /***************************************************************************
00009  *                                                                         *
00010  *   This program is free software; you can redistribute it and/or modify  *
00011  *   it under the terms of the GNU General Public License as published by  *
00012  *   the Free Software Foundation; either version 2 of the License, or     *
00013  *   (at your option) any later version.                                   *
00014  *                                                                         *
00015  ***************************************************************************/
00016 
00017 
00018 
00019 #include "mailplugin.h"
00020 #include "mailpluginimpl.h"
00021 
00022 MailPluginImpl::MailPluginImpl() {
00023     mailPlugin  = new MailPlugin();
00024 }
00025 
00026 MailPluginImpl::~MailPluginImpl() {
00027     delete mailPlugin;
00028 }
00029 
00030 
00031 TodayPluginObject* MailPluginImpl::guiPart() {
00032     return mailPlugin;
00033 }
00034 
00035 QRESULT MailPluginImpl::queryInterface( const QUuid & uuid,  QUnknownInterface **iface ) {
00036     *iface = 0;
00037     if ( ( uuid == IID_QUnknown ) || ( uuid == IID_TodayPluginInterface ) )  {
00038         *iface = this, (*iface)->addRef();
00039     }else
00040         return QS_FALSE;
00041 
00042     return QS_OK;
00043 
00044 }
00045 
00046 Q_EXPORT_INTERFACE() {
00047     Q_CREATE_INSTANCE( MailPluginImpl );
00048 }

Generated on Sat Nov 5 16:15:55 2005 for OPIE by  doxygen 1.4.2