pimuniqueapplication.h
00001 /* This file is part of the KDE project 00002 00003 Copyright 2008 David Faure <faure@kde.org> 00004 00005 This library is free software; you can redistribute it and/or modify 00006 it under the terms of the GNU Library General Public License as published 00007 by the Free Software Foundation; either version 2 of the License or 00008 ( at your option ) version 3 or, at the discretion of KDE e.V. 00009 ( which shall act as a proxy as in section 14 of the GPLv3 ), any later version. 00010 00011 This library is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 Library General Public License for more details. 00015 00016 You should have received a copy of the GNU Library General Public License 00017 along with this library; see the file COPYING.LIB. If not, write to 00018 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00019 Boston, MA 02110-1301, USA. 00020 */ 00021 #ifndef KONTACTINTERFACE_PIMUNIQUEAPPLICATION_H 00022 #define KONTACTINTERFACE_PIMUNIQUEAPPLICATION_H 00023 00024 #include "kontactinterface_export.h" 00025 #include <kuniqueapplication.h> 00026 00027 namespace KontactInterface { 00028 00036 class KONTACTINTERFACE_EXPORT PimUniqueApplication : public KUniqueApplication 00037 { 00038 public: 00039 explicit PimUniqueApplication(); 00040 ~PimUniqueApplication(); 00041 00045 static bool start(); 00046 00052 static bool start( KUniqueApplication::StartFlags flags ); 00053 00054 private: 00055 //@cond PRIVATE 00056 class Private; 00057 Private *const d; 00058 //@endcond 00059 }; 00060 00061 } 00062 00063 #endif