mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
NSProgress current changes
This commit is contained in:
parent
fce4e2e30c
commit
334220845a
2 changed files with 39 additions and 10 deletions
|
@ -40,9 +40,13 @@ typedef NSString* NSProgressKind;
|
|||
typedef NSString* NSProgressUserInfoKey;
|
||||
typedef NSString* NSProgressFileOperationKind;
|
||||
|
||||
DEFINE_BLOCK_TYPE(GSProgressCancellationHandler, void, void);
|
||||
DEFINE_BLOCK_TYPE(GSProgressPausingHandler, void, void);
|
||||
|
||||
DEFINE_BLOCK_NO_ARGS(GSProgressCancellationHandlerK);
|
||||
DEFINE_BLOCK_NO_ARGS(GSProgressPausingHandler);
|
||||
DEFINE_BLOCK_TYPE(NSProgressPublishingHandler, void, NSProgress*);
|
||||
DEFINE_BLOCK_NO_ARGS(NSProgressUnpublishingHandler);
|
||||
DEFINE_BLOCK_NO_ARGS(GSProgressPendingUnitCountBlock);
|
||||
DEFINE_BLOCK_NO_ARGS(GSProgressResumingHandler);
|
||||
|
||||
@interface NSProgress : NSObject
|
||||
{
|
||||
#if GS_EXPOSE(NSProgress)
|
||||
|
@ -62,11 +66,6 @@ GS_NSProgress_IVARS;
|
|||
#endif
|
||||
}
|
||||
|
||||
DEFINE_BLOCK_TYPE(NSProgressPublishingHandler, void, NSProgress*);
|
||||
DEFINE_BLOCK_NO_ARGS(NSProgressUnpublishingHandler);
|
||||
DEFINE_BLOCK_NO_ARGS(GSProgressPendingUnitCountBlock);
|
||||
DEFINE_BLOCK_NO_ARGS(GSProgressResumingHandler);
|
||||
|
||||
// Creating progress objects...
|
||||
- (instancetype)initWithParent: (NSProgress *)parent
|
||||
userInfo: (NSDictionary *)userInfo;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue