Update of /cvsroot/mahogany/M/include
In directory sc8-pr-cvs1:/tmp/cvs-serv5096/include

Modified Files:
        MessageView.h 
Log Message:
use filter descriptions, not names, in the 'View|Filters' menu

Index: MessageView.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/MessageView.h,v
retrieving revision 1.45
retrieving revision 1.46
diff -b -u -2 -r1.45 -r1.46
--- MessageView.h       17 Jun 2003 08:27:55 -0000      1.45
+++ MessageView.h       13 Sep 2003 23:04:54 -0000      1.46
@@ -43,4 +43,5 @@
 class ProcessEvtHandler;
 class ProcessInfo;
+class ViewFilter;
 
 WX_DEFINE_ARRAY(ProcessInfo *, ArrayProcessInfo);
@@ -348,9 +349,14 @@
 
       @param name the string where the name of the filter is returned
+      @param desc the string where the user-readable description of the filter
+                  is returned
       @param enabled on return is true if the filter is enabled
       @param cookie opaque cookie to be passed to GetNextViewFilter() later
-      @return true if there any filtersm, false otherwise
+      @return true if ok, false if there are no filters
     */
-   bool GetFirstViewFilter(String *name, bool *enabled, void **cookie);
+   bool GetFirstViewFilter(String *name,
+                           String *desc,
+                           bool *enabled,
+                           void **cookie);
 
    /**
@@ -358,9 +364,14 @@
 
       @param name the string where the name of the filter is returned
+      @param desc the string where the user-readable description of the filter
+                  is returned
       @param enabled on return is true if the filter is enabled
       @param cookie opaque cookie (same as passed to GetFirstViewFilter())
-      @return true if there any more filtersm, false otherwise
+      @return true if ok, false if there are no more filters
     */
-   bool GetNextViewFilter(String *name, bool *enabled, void **cookie);
+   bool GetNextViewFilter(String *name,
+                          String *desc,
+                          bool *enabled,
+                          void **cookie);
 
    //@}



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to