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

Modified Files:
        MModule.cpp 
Log Message:
return module file names, not internal names, from ListAvailable() (should fix the 
problem with dynamically loaded modules not being found)

Index: MModule.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/MModule.cpp,v
retrieving revision 1.90
retrieving revision 1.91
diff -b -u -2 -r1.90 -r1.91
--- MModule.cpp 11 Jul 2004 18:33:20 -0000      1.90
+++ MModule.cpp 11 Jul 2004 21:40:32 -0000      1.91
@@ -675,5 +675,4 @@
                                               MMODULE_INTERFACE_PROP);
 
-         const String name = GetMModuleProperty(props, MMODULE_NAME_PROP);
          if ( !interfaceName.empty() )
          {
@@ -686,4 +685,5 @@
             // note that this check is only done for a specific interface, if
             // all modules are requested, then return really all of them
+            const String name = GetMModuleProperty(props, MMODULE_NAME_PROP);
             if ( modulesNot.Index(name) != wxNOT_FOUND )
             {
@@ -693,4 +693,8 @@
          }
 
+         // use the file name, not MMODULE_NAME_PROP, so that we can
+         // LoadModule() it later
+         String name;
+         wxSplitPath(filename, NULL, &name, NULL),
          MModuleListingEntryImpl entry(
             name,



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to