From: stephan b. <sg...@us...> - 2004-12-28 23:02:23
|
Update of /cvsroot/pclasses/pclasses2/include/pclasses/Util In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27375/include/pclasses/Util Modified Files: Prefs.h Log Message: Now compiles under P2, but has a dep on IO, which means IO almost certainly has a circular dep on the Util module. Index: Prefs.h =================================================================== RCS file: /cvsroot/pclasses/pclasses2/include/pclasses/Util/Prefs.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Prefs.h 28 Dec 2004 22:55:51 -0000 1.2 +++ Prefs.h 28 Dec 2004 23:02:13 -0000 1.3 @@ -4,6 +4,7 @@ #include <pclasses/Util/Variant.h> #include <pclasses/Exception.h> +#include <pclasses/IO/IOError.h> // ACHTUNG: (Util <==> IO) circular dep #include <string> #include <list> @@ -98,8 +99,8 @@ Prefs(PrefsStore* store = 0, const std::string& name = "root"); virtual ~Prefs(); virtual void clear(); - virtual void load() throw(P::IOError); - virtual void save() throw(P::IOError); + virtual void load() throw(P::IO::IOError); + virtual void save() throw(P::IO::IOError); Section& root(); const Section& root() const; PrefsStore* store(); @@ -115,8 +116,8 @@ public: PrefsStore() {} virtual ~PrefsStore() {} - virtual void load(Prefs::Section& root) throw(P::IOError) = 0; - virtual void update(Prefs::Section& root) throw(P::IOError) = 0; + virtual void load(Prefs::Section& root) throw(P::IO::IOError) = 0; + virtual void update(Prefs::Section& root) throw(P::IO::IOError) = 0; }; } // namespace P |