mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-25 09:41:15 +00:00
Fix includes and comments
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28398 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f737606d59
commit
784da19ea0
3 changed files with 41 additions and 23 deletions
12
ChangeLog
12
ChangeLog
|
@ -1,3 +1,15 @@
|
||||||
|
2009-07-17 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
* Source/NSOperation.m: Fix includes and text of comments at start
|
||||||
|
of document.
|
||||||
|
|
||||||
|
2009-07-16 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
* Headers/Foundation/NSOperation.h:
|
||||||
|
* Source/NSOperation.m:
|
||||||
|
Various changes for maintainability and coding standards ... nothing
|
||||||
|
which should effect functionality.
|
||||||
|
|
||||||
2009-07-14 20:02-EDT Gregory John Casamento <greg.casamento@gmail.com>
|
2009-07-14 20:02-EDT Gregory John Casamento <greg.casamento@gmail.com>
|
||||||
|
|
||||||
* Headers/Foundation/NSOperation.h
|
* Headers/Foundation/NSOperation.h
|
||||||
|
|
|
@ -21,12 +21,19 @@
|
||||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
Boston, MA 02111 USA.
|
Boston, MA 02111 USA.
|
||||||
|
|
||||||
AutogsdocSource: NSOperation.m
|
|
||||||
AutogsdocSource: NSOperationQueue.m
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef __NSOperation_h_GNUSTEP_BASE_INCLUDE
|
||||||
|
#define __NSOperation_h_GNUSTEP_BASE_INCLUDE
|
||||||
|
|
||||||
#import <Foundation/NSObject.h>
|
#import <Foundation/NSObject.h>
|
||||||
|
|
||||||
|
#if OS_API_VERSION(100500, GS_API_LATEST)
|
||||||
|
|
||||||
|
#if defined(__cplusplus)
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
@class NSMutableArray;
|
@class NSMutableArray;
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
|
@ -41,18 +48,8 @@ typedef NSInteger NSOperationQueuePriority;
|
||||||
|
|
||||||
@interface NSOperation : NSObject
|
@interface NSOperation : NSObject
|
||||||
{
|
{
|
||||||
// Priority...
|
@private
|
||||||
NSOperationQueuePriority priority;
|
id _internal;
|
||||||
|
|
||||||
// Status...
|
|
||||||
BOOL cancelled;
|
|
||||||
BOOL concurrent;
|
|
||||||
BOOL executing;
|
|
||||||
BOOL finished;
|
|
||||||
BOOL ready;
|
|
||||||
|
|
||||||
// Dependencies
|
|
||||||
NSMutableArray *dependencies;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Initialization
|
// Initialization
|
||||||
|
@ -95,9 +92,8 @@ enum {
|
||||||
// NSOperationQueue
|
// NSOperationQueue
|
||||||
@interface NSOperationQueue : NSObject
|
@interface NSOperationQueue : NSObject
|
||||||
{
|
{
|
||||||
NSMutableArray *operations;
|
@private
|
||||||
BOOL suspended;
|
id _internal;
|
||||||
NSInteger count;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// status
|
// status
|
||||||
|
@ -112,3 +108,11 @@ enum {
|
||||||
- (void) cancelAllOperations;
|
- (void) cancelAllOperations;
|
||||||
- (void) waitUntilAllOperationsAreFinished;
|
- (void) waitUntilAllOperationsAreFinished;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
#if defined(__cplusplus)
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* __NSOperation_h_GNUSTEP_BASE_INCLUDE */
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/**Interface for NSOperation for GNUStep
|
/**Implementation for NSOperation for GNUStep
|
||||||
Copyright (C) 2009 Free Software Foundation, Inc.
|
Copyright (C) 2009 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Written by: Gregory Casamento <greg.casamento@gmail.com>
|
Written by: Gregory Casamento <greg.casamento@gmail.com>
|
||||||
|
@ -21,13 +21,15 @@
|
||||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
Boston, MA 02111 USA.
|
Boston, MA 02111 USA.
|
||||||
|
|
||||||
AutogsdocSource: NSOperation.m
|
<title>NSOperation class reference</title>
|
||||||
|
$Date: 2008-06-08 11:38:33 +0100 (Sun, 08 Jun 2008) $ $Revision: 26606 $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#import <Foundation/NSOperation.h>
|
#import "config.h"
|
||||||
#import <Foundation/NSArray.h>
|
#import "Foundation/NSOperation.h"
|
||||||
#import <Foundation/NSEnumerator.h>
|
#import "Foundation/NSArray.h"
|
||||||
#import <Foundation/NSException.h>
|
#import "Foundation/NSEnumerator.h"
|
||||||
|
#import "Foundation/NSException.h"
|
||||||
|
|
||||||
@interface NSOperationInternal : NSObject
|
@interface NSOperationInternal : NSObject
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue