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

Modified Files:
        MFilter.cpp 
Log Message:
added nop() filter action

Index: MFilter.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/MFilter.cpp,v
retrieving revision 1.26
retrieving revision 1.27
diff -b -u -2 -r1.26 -r1.27
--- MFilter.cpp 21 Dec 2003 00:35:48 -0000      1.26
+++ MFilter.cpp 2 Jul 2004 21:33:32 -0000       1.27
@@ -245,4 +245,5 @@
    _T("clearflag("),    // OAC_T_ClearFlag
    _T("setscore("),     // OAC_T_SetScore
+   _T("nop("),          // OAC_T_NOP
    NULL
 };
@@ -277,5 +278,6 @@
    OAC_F_Unimplemented|
 #endif
-   OAC_F_NeedsArg                // OAC_T_SetScore
+   OAC_F_NeedsArg,               // OAC_T_SetScore
+   0,                            // OAC_T_NOP
 };
 
@@ -289,4 +291,11 @@
                        MismatchInTargetArray );
 
+wxCOMPILE_TIME_ASSERT( WXSIZEOF(OAC_T_Names) == OAC_T_Max + 1,
+                       MismatchInActionNames );
+
+wxCOMPILE_TIME_ASSERT( WXSIZEOF(OAC_T_Flags) == OAC_T_Max,
+                       MismatchInActionFlags );
+
+
 bool FilterActionNeedsArg(MFDialogAction action)
 {



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