]> Dogcows Code - chaz/thecheat/blobdiff - MenuExtras.h
The Cheat 1.0b3
[chaz/thecheat] / MenuExtras.h
diff --git a/MenuExtras.h b/MenuExtras.h
new file mode 100644 (file)
index 0000000..4f9f3a1
--- /dev/null
@@ -0,0 +1,25 @@
+
+// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+// Project:   The Cheat
+//
+// File:      MenuExtras.h
+// Created:   Wed Sep 17 2003
+//
+// Copyright: 2003 Chaz McGarvey.  All rights reserved.
+// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+#import <Cocoa/Cocoa.h>
+
+
+@interface NSMenu (MenuExtras)
+
+- (void)removeItemWithTitle:(NSString *)title;
+- (void)removeAllItemsWithTitle:(NSString *)title;
+- (void)removeItemWithTag:(int)tag;
+
+- (void)removeAllItems;
+
+- (void)enableAllItems;
+- (void)disableAllItems;
+
+@end
\ No newline at end of file
This page took 0.017683 seconds and 4 git commands to generate.