author | mickeyl <mickeyl> | 2003-12-01 22:44:38 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-12-01 22:44:38 (UTC) |
commit | 7a7683d435cfbb4fa2d6ed99fd4a94d388402aec (patch) (unidiff) | |
tree | 1a34de131d935f34dd2622e3606ba664a7783e24 /libopie2/opiecore/oglobal.h | |
parent | a4a47fca8badeca2b1aae51b39295ccdc8782c4f (diff) | |
download | opie-7a7683d435cfbb4fa2d6ed99fd4a94d388402aec.zip opie-7a7683d435cfbb4fa2d6ed99fd4a94d388402aec.tar.gz opie-7a7683d435cfbb4fa2d6ed99fd4a94d388402aec.tar.bz2 |
slowly start to refactor & cleanup libopie2 before merging it with libopie1
-rw-r--r-- | libopie2/opiecore/oglobal.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libopie2/opiecore/oglobal.h b/libopie2/opiecore/oglobal.h index 23cedde..2dc4f9e 100644 --- a/libopie2/opiecore/oglobal.h +++ b/libopie2/opiecore/oglobal.h | |||
@@ -1,10 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of the Opie Project | 2 | This file is part of the Opie Project |
3 | 3 | Copyright (C) 2003 Michael 'Mickey' Lauer <mickey@Vanille.de> | |
4 | Copyright (C) 2003 Michael 'Mickey' Lauer <mickey@tm.informatik.uni-frankfurt.de> | ||
5 | =. | 4 | =. |
6 | .=l. | 5 | .=l. |
7 | .>+-= | 6 | .>+-= |
8 | _;:, .> :=|. This program is free software; you can | 7 | _;:, .> :=|. This program is free software; you can |
9 | .> <`_, > . <= redistribute it and/or modify it under | 8 | .> <`_, > . <= redistribute it and/or modify it under |
10 | :`=1 )Y*s>-.-- : the terms of the GNU Library General Public | 9 | :`=1 )Y*s>-.-- : the terms of the GNU Library General Public |
@@ -28,22 +27,23 @@ | |||
28 | Boston, MA 02111-1307, USA. | 27 | Boston, MA 02111-1307, USA. |
29 | */ | 28 | */ |
30 | 29 | ||
31 | #ifndef OGLOBAL_H | 30 | #ifndef OGLOBAL_H |
32 | #define OGLOBAL_H | 31 | #define OGLOBAL_H |
33 | 32 | ||
34 | #include <qpe/global.h> | ||
35 | #include <opie2/oconfig.h> | 33 | #include <opie2/oconfig.h> |
36 | 34 | ||
37 | static OConfig *globalconfig = new OConfig( "global" ); | 35 | //FIXME Is it wise or even necessary to inherit OGlobal from Global? |
38 | |||
39 | //FIXME: Is it wise or even necessary to inherit OGlobal from Global? | ||
40 | // once we totally skip libqpe it should ideally swallow Global -zecke | 36 | // once we totally skip libqpe it should ideally swallow Global -zecke |
37 | // You're right. I deleted global as the base class. -mickeyl | ||
41 | 38 | ||
42 | class OGlobal : public Global | 39 | class OGlobal |
43 | { | 40 | { |
44 | public: | 41 | public: |
45 | // do we want to put that into OApplication as in KApplication -zecke | 42 | //FIXME Do we want to put that into OApplication as in KApplication? -zecke |
43 | // We already have a per-application config in OApplication | ||
44 | // ( accessed through oApp->config() ), but this one is the global one! -mickeyl | ||
46 | static OConfig* config(); | 45 | static OConfig* config(); |
46 | static OConfig* _config; | ||
47 | }; | 47 | }; |
48 | 48 | ||
49 | #endif // OGLOBAL_H | 49 | #endif // OGLOBAL_H |