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

Modified Files:
        MModule.h 
Log Message:
1. show all modules in modules dialog and allow the user to prevent them
   from being loaded instead of asking him to select those which he wants
   to be loaded
2. removed support for .mmd files from MModule, nobody used it for ages
   anyhow
3. MModule::GetProvider() now looks among all modules, not just loaded ones


Index: MModule.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/MModule.h,v
retrieving revision 1.59
retrieving revision 1.60
diff -b -u -2 -r1.59 -r1.60
--- MModule.h   22 Dec 2003 22:10:56 -0000      1.59
+++ MModule.h   11 Jul 2004 00:07:17 -0000      1.60
@@ -122,4 +122,7 @@
 //@}
 
+/// The name of the interface of modules which should be loaded on startup
+#define STARTUP_INTERFACE _T("Startup")
+
 // ----------------------------------------------------------------------------
 // classes used for browsing/listing the available modules
@@ -270,17 +273,8 @@
        i.e. GetModule() from these entries will return NULL.
 
-       If iface is not empty, will only return modules implementing
-       the given interface.
-
-       If loadableOnly is true, will only return the modules with non
-       empty desc property.
-   */
-   static MModuleListing * ListAvailableModules(const String& iface = _T(""),
-                                                bool loadableOnly = false);
-
-   /** As ListAvailableModules() but only returns the modules which can be
-       loaded manually by the user (and not various importers, for example)
+       @param iface if not empty, will only return modules implementing
+                    the given interface, otherwise returns all modules
    */
-   static MModuleListing * ListLoadableModules();
+   static MModuleListing * ListAvailableModules(const String& iface = _T(""));
 
    /** Finds the first module which provides the given interface. Only



-------------------------------------------------------
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