diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-08-04 08:39:04 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-08-04 08:39:04 (GMT) |
commit | 8de45cd97339e94ae0dc120f068248b5795e118b (patch) | |
tree | 4bec9f87952e30ab8a6bb0f4aac037630549429c | |
parent | 83791d091430a0b2fa534c104823f91a7587d64e (diff) | |
download | swift-8de45cd97339e94ae0dc120f068248b5795e118b.zip swift-8de45cd97339e94ae0dc120f068248b5795e118b.tar.bz2 |
CocoaAction: Remove redundant Menulet declaration.
-rw-r--r-- | Slimber/Cocoa/CocoaAction.h | 9 |
1 files changed, 7 insertions, 2 deletions
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 <Cocoa/Cocoa.h> #include <boost/function.hpp> -class CocoaMenulet; - @interface CocoaAction : NSObject { boost::function<void ()>* function; } +/** + * Acquires ownership of 'f'. + */ - (id) initWithFunction: (boost::function<void()>*) f; + +/** + * Calls the functor passed as a parameter to the contsructor. + */ - (void) doAction: (id) sender; @end |