00001 /*************************************************************************** 00002 uniqueapp.h - description 00003 ------------------- 00004 begin : Mon Nov 19 2001 00005 copyright : (C) 2001 by Eggert Ehmke 00006 email : eggert.ehmke@berlin.de 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef UNIQUEAPP_H 00019 #define UNIQUEAPP_H 00020 00021 //KDE-Header 00022 #include <twin.h> 00023 #include <tdecmdlineargs.h> 00024 #include <kuniqueapplication.h> 00025 00026 //KShowMail-Header 00027 #include "kshowmail.h" 00028 #include "constants.h" 00029 00030 using namespace Constants; 00031 00037 class UniqueApp : public KUniqueApplication { 00038 00039 public: 00040 00044 UniqueApp(); 00045 00049 ~UniqueApp(); 00050 00054 virtual int newInstance (); 00055 00056 00057 private: 00058 00062 KShowMailApp* m_pApp; 00063 }; 00064 00065 #endif