mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 16:10:48 +00:00
Change name of the handler
This commit is contained in:
parent
7c296ae5a9
commit
ac207e296d
2 changed files with 7 additions and 7 deletions
|
@ -33,12 +33,12 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
DEFINE_BLOCK_TYPE(GSCustomActionHandler, void, BOOL);
|
||||
DEFINE_BLOCK_TYPE(GSAccessibilityCustomActionHandler, void, BOOL);
|
||||
|
||||
@interface NSAccessibilityCustomAction : NSObject
|
||||
|
||||
- (instancetype)initWithName: (NSString *)name
|
||||
handler: (GSCustomActionHandler)handler;
|
||||
handler: (GSAccessibilityCustomActionHandler)handler;
|
||||
|
||||
- (instancetype)initWithName: (NSString *)name
|
||||
target: (id)target
|
||||
|
@ -47,8 +47,8 @@ DEFINE_BLOCK_TYPE(GSCustomActionHandler, void, BOOL);
|
|||
- (NSString *) name;
|
||||
- (void) setName: (NSString *)name;
|
||||
|
||||
- (GSCustomActionHandler) handler;
|
||||
- (void) setHandler: (GSCustomActionHandler)handler;
|
||||
- (GSAccessibilityCustomActionHandler) handler;
|
||||
- (void) setHandler: (GSAccessibilityCustomActionHandler)handler;
|
||||
|
||||
- (id) target;
|
||||
- (void) setTarget: (id)target;
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
@implementation NSAccessibilityCustomAction
|
||||
|
||||
- (instancetype)initWithName: (NSString *)name
|
||||
handler: (GSCustomActionHandler)handler
|
||||
handler: (GSAccessibilityCustomActionHandler)handler
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
@ -48,12 +48,12 @@
|
|||
{
|
||||
}
|
||||
|
||||
- (GSCustomActionHandler) handler
|
||||
- (GSAccessibilityCustomActionHandler) handler
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (void) setHandler: (GSCustomActionHandler)handler
|
||||
- (void) setHandler: (GSAccessibilityCustomActionHandler)handler
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue