mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
Skeletons implemented.
This commit is contained in:
parent
cb312ad77f
commit
060dc2d703
2 changed files with 59 additions and 0 deletions
|
@ -33,8 +33,30 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef NSString* NSStoryboardSegueIdentifier;
|
||||
DEFINE_BLOCK_TYPE_NO_ARGS(GSStoryboardPerformHandler, void);
|
||||
|
||||
@interface NSStoryboardSegue : NSObject
|
||||
|
||||
// Inspecting a Storyboard Segue
|
||||
- (id) sourceController;
|
||||
|
||||
- (id) destinationController;
|
||||
|
||||
- (NSStoryboardSegueIdentifier) identifier;
|
||||
|
||||
// Customizing Storyboard Segue Initialization and Invocation
|
||||
+ (instancetype) segueWithIdentifier: (NSStoryboardSegueIdentifier)identifier
|
||||
source: (id)sourceController
|
||||
destination: (id)destinationController
|
||||
performHandler: (GSStoryboardPerformHandler)performHandler;
|
||||
|
||||
- (instancetype) initWithIdentifier: (NSStoryboardSegueIdentifier)identifier
|
||||
source: (id)sourceController
|
||||
destination: (id)destinationController;
|
||||
|
||||
- (void) perform;
|
||||
|
||||
@end
|
||||
|
||||
#if defined(__cplusplus)
|
||||
|
|
|
@ -26,5 +26,42 @@
|
|||
|
||||
@implementation NSStoryboardSegue
|
||||
|
||||
// Inspecting a Storyboard Segue
|
||||
- (id) sourceController
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (id) destinationController
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
|
||||
- (NSStoryboardSegueIdentifier) identifier
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
// Customizing Storyboard Segue Initialization and Invocation
|
||||
+ (instancetype) segueWithIdentifier: (NSStoryboardSegueIdentifier)identifier
|
||||
source: (id)sourceController
|
||||
destination: (id)destinationController
|
||||
performHandler: (GSStoryboardPerformHandler)performHandler
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (instancetype) initWithIdentifier: (NSStoryboardSegueIdentifier)identifier
|
||||
source: (id)sourceController
|
||||
destination: (id)destinationController
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (void) perform
|
||||
{
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
|
|
Loading…
Reference in a new issue