Fresco/Berlin/include/Berlin RCManager.hh,1.3,1.4

Neil John Pilgrim <[email protected]>
Newsgroups gmane.comp.video.fresco.cvs
Message-ID <[email protected]>
Update of /cvs/fresco/Fresco/Berlin/include/Berlin
In directory purcel:/tmp/cvs-serv9791/Berlin/include/Berlin

Modified Files:
	RCManager.hh 
Log Message:
Factor code from server.cc into RCManager, to enable use across all Berlin binaries. Modify pinyin demo to not use RCManager (for now) - its a Berlin library, not something that clients should use.


Index: RCManager.hh
===================================================================
RCS file: /cvs/fresco/Fresco/Berlin/include/Berlin/RCManager.hh,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- RCManager.hh	2 Jun 2002 04:44:17 -0000	1.3
+++ RCManager.hh	14 Apr 2003 00:25:05 -0000	1.4
@@ -22,18 +22,14 @@
 #ifndef _RCManager_hh
 #define _RCManager_hh
 
+#include <Prague/Sys/GetOpt.hh>
 #include <Prague/Sys/Path.hh>
-#include <stdexcept>
-#include <map>
 
 class RCManager
 {
-public:
-  static void read(const std::string &);
-  static Prague::Path get_path(const std::string &);
-  static void add_to_path(const std::string &, const std::string &);
-private:
-  static std::map<std::string, Prague::Path> _paths;
+  public:
+    static void setup(Prague::GetOpt const &);
+    static Prague::Path get_path(const std::string &);
 };
 
 #endif
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.