From 7a7683d435cfbb4fa2d6ed99fd4a94d388402aec Mon Sep 17 00:00:00 2001 From: mickeyl Date: Mon, 01 Dec 2003 22:44:38 +0000 Subject: slowly start to refactor & cleanup libopie2 before merging it with libopie1 --- (limited to 'libopie2/opiecore/oglobal.h') 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,7 +1,6 @@ /*                 This file is part of the Opie Project - -              Copyright (C) 2003 Michael 'Mickey' Lauer +              Copyright (C) 2003 Michael 'Mickey' Lauer =. .=l.            .>+-= @@ -31,19 +30,20 @@ #ifndef OGLOBAL_H #define OGLOBAL_H -#include #include -static OConfig *globalconfig = new OConfig( "global" ); - -//FIXME: Is it wise or even necessary to inherit OGlobal from Global? -// once we totally skip libqpe it should ideally swallow Global -zecke +//FIXME Is it wise or even necessary to inherit OGlobal from Global? +// once we totally skip libqpe it should ideally swallow Global -zecke +// You're right. I deleted global as the base class. -mickeyl -class OGlobal : public Global +class OGlobal { public: - // do we want to put that into OApplication as in KApplication -zecke + //FIXME Do we want to put that into OApplication as in KApplication? -zecke + // We already have a per-application config in OApplication + // ( accessed through oApp->config() ), but this one is the global one! -mickeyl static OConfig* config(); + static OConfig* _config; }; #endif // OGLOBAL_H -- cgit v0.9.0.2