From 8de45cd97339e94ae0dc120f068248b5795e118b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Tue, 4 Aug 2009 10:39:04 +0200 Subject: CocoaAction: Remove redundant Menulet declaration. diff --git a/Slimber/Cocoa/CocoaAction.h b/Slimber/Cocoa/CocoaAction.h index 13be6b9..d02c8b5 100644 --- a/Slimber/Cocoa/CocoaAction.h +++ b/Slimber/Cocoa/CocoaAction.h @@ -3,13 +3,18 @@ #include #include -class CocoaMenulet; - @interface CocoaAction : NSObject { boost::function* function; } +/** + * Acquires ownership of 'f'. + */ - (id) initWithFunction: (boost::function*) f; + +/** + * Calls the functor passed as a parameter to the contsructor. + */ - (void) doAction: (id) sender; @end -- cgit v0.10.2-6-g49f6