Update of /cvsroot/mahogany/M/src/classes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13183/src/classes

Modified Files:
        Profile.cpp 
Added Files:
        ConfigSourcesAll.cpp 
Log Message:
refactored Profile.cpp into different files

***** Error reading new file: [Errno 2] No such file or directory: 
'ConfigSourcesAll.cpp'
Index: Profile.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/Profile.cpp,v
retrieving revision 1.162
retrieving revision 1.163
diff -b -u -2 -r1.162 -r1.163
--- Profile.cpp 4 Jul 2005 19:51:40 -0000       1.162
+++ Profile.cpp 4 Jul 2005 20:53:33 -0000       1.163
@@ -34,12 +34,11 @@
 #endif // USE_PCH
 
-#include <wx/confbase.h>                // for wxExpandEnvVars
+#include <wx/confbase.h>
 
 #include "lists.h"
 #include "pointers.h"
 
-#include "ConfigSource.h"
-
-class wxConfigBase;
[...1007 lines suppressed...]
-
-   return rc;
-}
-
-
-wxConfigBase *AllConfigSources::GetLocalConfig() const
-{
-   if ( m_sources.empty() )
-      return NULL;
-
-   // we know that the first config source is the local one...
-   ConfigSourceLocal *
-      config = static_cast<ConfigSourceLocal *>(*m_sources.begin());
-
-   return config->GetConfig();
-}
+// the global object containing all config sources used by Profile
+static AllConfigSources *gs_allConfigSources = 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