1 | |
2 | /* |
3 | * This file is part of the KDE Help Center |
4 | * |
5 | * Copyright (C) 2002 Frerich Raabe <raabe@kde.org> |
6 | * |
7 | * This program is free software; you can redistribute it and/or modify |
8 | * it under the terms of the GNU General Public License as published by |
9 | * the Free Software Foundation; either version 2 of the License, or |
10 | * (at your option) any later version. |
11 | * |
12 | * This program is distributed in the hope that it will be useful, |
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 | * GNU General Public License for more details. |
16 | * |
17 | * You should have received a copy of the GNU General Public License |
18 | * along with this program; if not, write to the Free Software |
19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
20 | */ |
21 | |
22 | #ifndef KHC_APPLICATION_H |
23 | #define KHC_APPLICATION_H |
24 | |
25 | #include <KUniqueApplication> |
26 | |
27 | namespace KHC { |
28 | |
29 | class MainWindow; |
30 | |
31 | class Application : public KUniqueApplication |
32 | { |
33 | public: |
34 | Application(); |
35 | |
36 | virtual int newInstance(); |
37 | |
38 | private: |
39 | MainWindow *mMainWindow; |
40 | }; |
41 | |
42 | } |
43 | |
44 | extern "C" { int KDE_EXPORT kdemain(int argc, char **argv); } |
45 | |
46 | #endif // KHC_APPLICATION_H |
47 | // vim:ts=2:sw=2:et |
48 | |