Update of /cvsroot/mahogany/M/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14952/include

Modified Files:
        ConfigSourcesAll.h 
Log Message:
added SetSources()

Index: ConfigSourcesAll.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/ConfigSourcesAll.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -b -u -2 -r1.2 -r1.3
--- ConfigSourcesAll.h  5 Jul 2005 12:34:35 -0000       1.2
+++ ConfigSourcesAll.h  5 Jul 2005 15:30:29 -0000       1.3
@@ -186,4 +186,21 @@
    const List& GetSources() const { return m_sources; }
 
+   /**
+      Set the list of all configuration sources.
+
+      This function overwrites the previous defined config sources.
+
+      The unnamed local config source shouldn't be included in the arrays
+      passed to this function, it's always present.
+
+      @param names the names of all config sources
+      @param types the types of sources
+      @param specs the spec strings (passed to ConfigSourceFactory::Save())
+      @return true if ok, false on error
+    */
+   bool SetSources(const wxArrayString& names,
+                   const wxArrayString& types,
+                   const wxArrayString& specs);
+
    /// Delete the global AllConfigSources object returned by Get()
    static void Cleanup() { delete ms_theInstance; ms_theInstance = NULL; }



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to