X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fthecheat;a=blobdiff_plain;f=MenuExtras.h;fp=MenuExtras.h;h=4f9f3a140304c8f220a960121555f671901b1992;hp=0000000000000000000000000000000000000000;hb=42cf7bbe564d70233a0d73baee613f209eb00eb6;hpb=2d60a59a8ad195dd0af8f90c8d5b74a69ce7f4fa diff --git a/MenuExtras.h b/MenuExtras.h new file mode 100644 index 0000000..4f9f3a1 --- /dev/null +++ b/MenuExtras.h @@ -0,0 +1,25 @@ + +// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +// Project: The Cheat +// +// File: MenuExtras.h +// Created: Wed Sep 17 2003 +// +// Copyright: 2003 Chaz McGarvey. All rights reserved. +// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +#import + + +@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