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:
Richard Frith-MacDonald 2009-07-17 05:13:52 +00:00
parent 2fd57dd537
commit 4567f1790d
3 changed files with 41 additions and 23 deletions

View file

@ -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>
* Headers/Foundation/NSOperation.h

View file

@ -21,12 +21,19 @@
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
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>
#if OS_API_VERSION(100500, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
@class NSMutableArray;
enum {
@ -41,18 +48,8 @@ typedef NSInteger NSOperationQueuePriority;
@interface NSOperation : NSObject
{
// Priority...
NSOperationQueuePriority priority;
// Status...
BOOL cancelled;
BOOL concurrent;
BOOL executing;
BOOL finished;
BOOL ready;
// Dependencies
NSMutableArray *dependencies;
@private
id _internal;
}
// Initialization
@ -95,9 +92,8 @@ enum {
// NSOperationQueue
@interface NSOperationQueue : NSObject
{
NSMutableArray *operations;
BOOL suspended;
NSInteger count;
@private
id _internal;
}
// status
@ -112,3 +108,11 @@ enum {
- (void) cancelAllOperations;
- (void) waitUntilAllOperationsAreFinished;
@end
#if defined(__cplusplus)
}
#endif
#endif
#endif /* __NSOperation_h_GNUSTEP_BASE_INCLUDE */

View file

@ -1,4 +1,4 @@
/**Interface for NSOperation for GNUStep
/**Implementation for NSOperation for GNUStep
Copyright (C) 2009 Free Software Foundation, Inc.
Written by: Gregory Casamento <greg.casamento@gmail.com>
@ -21,13 +21,15 @@
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
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 <Foundation/NSArray.h>
#import <Foundation/NSEnumerator.h>
#import <Foundation/NSException.h>
#import "config.h"
#import "Foundation/NSOperation.h"
#import "Foundation/NSArray.h"
#import "Foundation/NSEnumerator.h"
#import "Foundation/NSException.h"
@interface NSOperationInternal : NSObject
{