00001 /* ============================================================ 00002 * File : plugin.h 00003 * Author: Renchi Raju <renchi@pooh.tam.uiuc.edu> 00004 * Date : 2003-01-30 00005 * Description : 00006 * 00007 * Copyright 2003 by Renchi Raju 00008 00009 * This program is free software; you can redistribute it 00010 * and/or modify it under the terms of the GNU General 00011 * Public License as published bythe Free Software Foundation; 00012 * either version 2, or (at your option) 00013 * any later version. 00014 * 00015 * This program is distributed in the hope that it will be useful, 00016 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00018 * GNU General Public License for more details. 00019 * 00020 * ============================================================ */ 00021 00022 #ifndef DIGIKAM_PLUGIN_H 00023 #define DIGIKAM_PLUGIN_H 00024 00025 #include <qobject.h> 00026 #include <qstringlist.h> 00027 #include <kxmlguiclient.h> 00028 00029 namespace Digikam 00030 { 00031 00184 class Plugin : public QObject, public KXMLGUIClient 00185 { 00186 public: 00187 00191 Plugin(QObject *parent, const char* name=0); 00192 00196 virtual ~Plugin(); 00197 00201 virtual void enableView(); 00202 00206 virtual void disableView(); 00207 00208 }; 00209 00210 } 00211 00212 #endif /* PLUGIN_H */
1.3.2