X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fthecheat;a=blobdiff_plain;f=MenuExtras.h;h=47f14e65a806cad7b7f4dfbf1c9b654f39511712;hp=4f9f3a140304c8f220a960121555f671901b1992;hb=HEAD;hpb=42cf7bbe564d70233a0d73baee613f209eb00eb6 diff --git a/MenuExtras.h b/MenuExtras.h index 4f9f3a1..47f14e6 100644 --- a/MenuExtras.h +++ b/MenuExtras.h @@ -1,25 +1,27 @@ -// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -// Project: The Cheat -// -// File: MenuExtras.h -// Created: Wed Sep 17 2003 -// -// Copyright: 2003 Chaz McGarvey. All rights reserved. -// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/* + * The Cheat - The legendary universal game trainer for Mac OS X. + * http://www.brokenzipper.com/trac/wiki/TheCheat + * + * Copyright (c) 2003-2011, Charles McGarvey et al. + * + * Distributable under the terms and conditions of the 2-clause BSD + * license; see the file COPYING for the legal text of the license. + */ #import -@interface NSMenu (MenuExtras) +@interface NSMenu ( MenuExtras ) - (void)removeItemWithTitle:(NSString *)title; - (void)removeAllItemsWithTitle:(NSString *)title; - (void)removeItemWithTag:(int)tag; +- (void)removeItemWithRepresentedObject:(id)object; - (void)removeAllItems; - (void)enableAllItems; - (void)disableAllItems; -@end \ No newline at end of file +@end