* */*.h: Format declarations consistently. Add -*-objc-*

shabang line.  Replace remaining extern declarations with
	GDL2*_EXPORT.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@19134 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
ayers 2004-04-17 11:30:47 +00:00
parent dd15f889e0
commit e6689b0cc8
66 changed files with 847 additions and 863 deletions

View file

@ -1,3 +1,9 @@
2004-04-17 David Ayers <d.ayers@inode.at>
* */*.h: Format declarations consistently. Add -*-objc-*
shabang line. Replace remaining extern declarations with
GDL2*_EXPORT.
2004-04-16 David Ayers <d.ayers@inode.at>
* EOAccess/EOModel.m ([EOModel writeToFile:]) Set path (and

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOAccessFault.h
Copyright (C) 2000 Free Software Foundation, Inc.
@ -66,7 +66,7 @@
databaseContext: (EODatabaseContext *)dbcontext
editingContext: (EOEditingContext *)ec;
- initWithGlobalID: (EOKeyGlobalID *)globalID
- (id)initWithGlobalID: (EOKeyGlobalID *)globalID
databaseContext: (EODatabaseContext *)dbcontext
editingContext: (EOEditingContext *)ec;
@ -91,7 +91,7 @@
databaseContext: (EODatabaseContext *)dbcontext
editingContext: (EOEditingContext *)ec;
- initWithSourceGlobalID: (EOKeyGlobalID *)sourceGID
- (id)initWithSourceGlobalID: (EOKeyGlobalID *)sourceGID
relationshipName: (NSString *)relationshipName
databaseContext: (EODatabaseContext *)dbcontext
editingContext: (EOEditingContext *)ec;

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOAccessFaultPriv.h
Copyright (C) 2000 Free Software Foundation, Inc.

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOAdaptor.h
Copyright (C) 2000 Free Software Foundation, Inc.
@ -85,7 +85,7 @@ GDL2ACCESS_EXPORT NSString *EOGeneralAdaptorException;
+ (NSArray *)availableAdaptorNames;
- (NSArray *)prototypeAttributes;
- initWithName:(NSString *)name;
- (id)initWithName: (NSString *)name;
/* Getting an adaptor's name */
- (NSString *)name;
@ -95,7 +95,7 @@ GDL2ACCESS_EXPORT NSString *EOGeneralAdaptorException;
- (NSArray *)contexts;
/* Setting the model */
- (void)setModel: (EOModel*)aModel;//Not in EOFD
- (void)setModel: (EOModel *)model;//Not in EOFD
- (EOModel *)model;//Not in EOFD
/* Checking connection status */
@ -110,7 +110,7 @@ GDL2ACCESS_EXPORT NSString *EOGeneralAdaptorException;
- (BOOL)isDroppedConnectionException: (NSException *)exception;
/* Setting connection information */
- (void)setConnectionDictionary: (NSDictionary*)aDictionary;
- (void)setConnectionDictionary: (NSDictionary *)dictionary;
- (NSDictionary *)connectionDictionary;
- (void)assertConnectionDictionaryIsValid;
@ -131,7 +131,7 @@ GDL2ACCESS_EXPORT NSString *EOGeneralAdaptorException;
/* Setting the delegate */
- (id)delegate;
- (void)setDelegate: delegate;
- (void)setDelegate: (id)delegate;
- (BOOL)isValidQualifierType: (NSString *)attribute
model: (EOModel *)model;

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOAdaptorChannel.h
Copyright (C) 2000 Free Software Foundation, Inc.
@ -91,7 +91,7 @@
+ (EOAdaptorChannel *)adaptorChannelWithAdaptorContext: (EOAdaptorContext *)adaptorContext;
/* Initializing an adaptor context */
- initWithAdaptorContext: (EOAdaptorContext *)adaptorContext;
- (id)initWithAdaptorContext: (EOAdaptorContext *)adaptorContext;
/* Getting the adaptor context */
- (EOAdaptorContext *)adaptorContext;
@ -117,7 +117,7 @@ inRowDescribedByQualifier: (EOQualifier *)qualifier
/* Fetching rows */
- (void)selectAttributes: (NSArray *)attributes
fetchSpecification: (EOFetchSpecification *)fetchSpecification
lock: (BOOL)aLockFlag
lock: (BOOL)lockFlag
entity: (EOEntity *)entity;
- (void)lockRowComparingAttributes: (NSArray *)atts
@ -182,50 +182,50 @@ inRowDescribedByQualifier: (EOQualifier *)qualifier
@interface NSObject (EOAdaptorChannelDelegation)
- (NSArray *)adaptorChannel: channel
- (NSArray *)adaptorChannel: (id)channel
willPerformOperations: (NSArray *)operations;
- (NSException *)adaptorChannel: channel
- (NSException *)adaptorChannel: (id)channel
didPerformOperations: (NSArray *)operations
exception: (NSException *)exception;
- (BOOL)adaptorChannel: channel
- (BOOL)adaptorChannel: (id)channel
shouldSelectAttributes: (NSArray *)attributes
fetchSpecification: (EOFetchSpecification *)fetchSpecification
lock: (BOOL)flag
entity: (EOEntity *)entity;
- (void)adaptorChannel: channel
- (void)adaptorChannel: (id)channel
didSelectAttributes: (NSArray *)attributes
fetchSpecification: (EOFetchSpecification *)fetchSpecification
lock: (BOOL) flag
entity: (EOEntity *)entity;
- (void)adaptorChannelWillFetchRow: channel;
- (void)adaptorChannelWillFetchRow: (id)channel;
- (void)adaptorChannel: channel didFetchRow: (NSMutableDictionary *)row;
- (void)adaptorChannel: (id)channel didFetchRow: (NSMutableDictionary *)row;
- (void)adaptorChannelDidChangeResultSet: channel;
- (void)adaptorChannelDidChangeResultSet: (id)channel;
- (void)adaptorChannelDidFinishFetching: channel;
- (void)adaptorChannelDidFinishFetching: (id)channel;
- (BOOL)adaptorChannel: channel
- (BOOL)adaptorChannel: (id)channel
shouldEvaluateExpression: (EOSQLExpression *)expression;
- (void)adaptorChannel: channel
- (void)adaptorChannel: (id)channel
didEvaluateExpression: (EOSQLExpression *)expression;
- (NSDictionary *)adaptorChannel: channel
- (NSDictionary *)adaptorChannel: (id)channel
shouldExecuteStoredProcedure: (EOStoredProcedure *)procedure
withValues: (NSDictionary *)values;
- (void)adaptorChannel: channel
- (void)adaptorChannel: (id)channel
didExecuteStoredProcedure: (EOStoredProcedure *)procedure
withValues: (NSDictionary *)values;
- (NSDictionary *)adaptorChannelShouldConstructStoredProcedureReturnValues: channel;
- (NSDictionary *)adaptorChannelShouldConstructStoredProcedureReturnValues: (id)channel;
- (NSDictionary *)adaptorChannel: channel
- (NSDictionary *)adaptorChannel: (id)channel
shouldReturnValuesForStoredProcedure: (NSDictionary *)returnValues;
@end /* NSObject(EOAdaptorChannelDelegation) */

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOAdaptorContext.h
Copyright (C) 2000 Free Software Foundation, Inc.
@ -77,7 +77,7 @@ typedef enum {
+ (EOAdaptorContext *)adaptorContextWithAdaptor: (EOAdaptor *)adaptor;
- initWithAdaptor: (EOAdaptor *)adaptor;
- (id)initWithAdaptor: (EOAdaptor *)adaptor;
- (EOAdaptor *)adaptor;
@ -86,8 +86,8 @@ typedef enum {
- (BOOL)hasOpenChannels;
- (BOOL)hasBusyChannels;
- delegate;
- (void)setDelegate:aDelegate;
- (id)delegate;
- (void)setDelegate: (id)delegate;
- (void)handleDroppedConnection;
@ -119,21 +119,21 @@ typedef enum {
@interface EOAdaptorContext(Private)
- (void)_channelDidInit: aChannel;
- (void)_channelWillDealloc: aChannel;
- (void)_channelDidInit: (id)channel;
- (void)_channelWillDealloc: (id)channel;
@end
@interface NSObject (EOAdaptorContextDelegation)
- (BOOL)adaptorContextShouldConnect: context;
- (BOOL)adaptorContextShouldBegin: context;
- (void)adaptorContextDidBegin: context;
- (BOOL)adaptorContextShouldCommit: context;
- (void)adaptorContextDidCommit: context;
- (BOOL)adaptorContextShouldRollback: context;
- (void)adaptorContextDidRollback: context;
- (BOOL)adaptorContextShouldConnect: (id)context;
- (BOOL)adaptorContextShouldBegin: (id)context;
- (void)adaptorContextDidBegin: (id)context;
- (BOOL)adaptorContextShouldCommit: (id)context;
- (void)adaptorContextDidCommit: (id)context;
- (BOOL)adaptorContextShouldRollback: (id)context;
- (void)adaptorContextDidRollback: (id)context;
@end /* NSObject(EOAdaptorContextDelegate) */

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOAdaptorPriv.h
Copyright (C) 2002 Free Software Foundation, Inc.

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOAttribute.h
Copyright (C) 2000 Free Software Foundation, Inc.
@ -280,7 +280,7 @@ typedef enum {
@interface NSObject (EOCustomClassArchiving)
+ objectWithArchiveData: (NSData *)data;
+ (id)objectWithArchiveData: (NSData *)data;
- (NSData *)archiveData;
@end

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOAttributePriv.h
Copyright (C) 2000 Free Software Foundation, Inc.

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EODatabase.h
Copyright (C) 2000 Free Software Foundation, Inc.
@ -66,9 +66,9 @@ GDL2ACCESS_EXPORT NSString *EOGeneralDatabaseException;
+ (EODatabase *)databaseWithModel: (EOModel *)model;
- initWithAdaptor: (EOAdaptor *)adaptor;
- (id)initWithAdaptor: (EOAdaptor *)adaptor;
- initWithModel: (EOModel *)model;
- (id)initWithModel: (EOModel *)model;
- (NSArray *)registeredContexts;

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EODatabaseChannel.h
Copyright (C) 2000-2002 Free Software Foundation, Inc.
@ -68,7 +68,7 @@
+ (EODatabaseChannel *)databaseChannelWithDatabaseContext: (EODatabaseContext *)databaseContext;
- initWithDatabaseContext: (EODatabaseContext *)databaseContext;
- (id)initWithDatabaseContext: (EODatabaseContext *)databaseContext;
- (void)setCurrentEntity: (EOEntity *)entity;
- (void)setEntity: (EOEntity *)entity;

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EODatabaseChannelPriv.h
Copyright (C) 2002 Free Software Foundation, Inc.

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EODatabaseContext.h
Copyright (C) 2000 Free Software Foundation, Inc.
@ -76,8 +76,8 @@ struct _EOTransactionScope;
*/
NSMutableArray *_registeredChannels;
NSMapTable *_dbOperationsByGlobalID;
EOObjectStoreCoordinator *_coordinator; // not retained
EOEditingContext *_editingContext; // not retained
EOObjectStoreCoordinator *_coordinator; /* unretained */
EOEditingContext *_editingContext; /* unretained */
id *_lockedObjects;//void*
/*TO ADD unsigned int _currentGeneration;
unsigned int _concurentFetches;
@ -108,7 +108,7 @@ struct _EOTransactionScope;
unsigned int ignoreEntityCaching:1;
unsigned int _reserved:29;
} _flags;
id _delegate; // not retained
id _delegate; /* unretained */
struct {
unsigned int willRunLoginPanelToOpenDatabaseChannel:1;
unsigned int newPrimaryKey:1;
@ -129,7 +129,7 @@ struct _EOTransactionScope;
+ (EODatabaseContext *)databaseContextWithDatabase: (EODatabase *)database;
- initWithDatabase: (EODatabase *)database;
- (id)initWithDatabase: (EODatabase *)database;
+ (EODatabaseContext *)registeredDatabaseContextForModel: (EOModel *)model
editingContext: (EOEditingContext *)editingContext;
@ -189,7 +189,7 @@ struct _EOTransactionScope;
relationshipName: (NSString *)name
editingContext: (EOEditingContext *)context;
- (void)refaultObject: object
- (void)refaultObject: (id)object
withGlobalID: (EOGlobalID *)globalID
editingContext: (EOEditingContext *)context;
@ -230,7 +230,7 @@ It's invoked after prepareForSaveWithCoordinator:editingContext: and before owns
**/
- (void)recordChangesInEditingContext;
- (void)recordUpdateForObject: object
- (void)recordUpdateForObject: (id)object
changes: (NSDictionary *)changes;
- (void)performChanges;
@ -239,7 +239,7 @@ It's invoked after prepareForSaveWithCoordinator:editingContext: and before owns
- (void)rollbackChanges;
- (NSDictionary *)valuesForKeys: (NSArray *)keys object: object;
- (NSDictionary *)valuesForKeys: (NSArray *)keys object: (id)object;
-(void)relayPrimaryKey: (NSDictionary *)pk
object: (id)object
@ -368,7 +368,6 @@ Only searches locally (in the transaction scope), not in the EODatabase. **/
@end
// Notifications:
GDL2ACCESS_EXPORT NSString *EODatabaseChannelNeededNotification;

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EODatabaseContextPriv.h
Copyright (C) 2000 Free Software Foundation, Inc.
@ -46,10 +46,12 @@
relationshipName: (NSString *)relationshipName
fault: (EOFault *)fault;
/*- (void)_batchToOne: (id)fault
/*
- (void)_batchToOne: (id)fault
withHandler: (EOAccessFaultHandler *)handler;
- (void)_batchToMany: (id)fault
withHandler: (EOAccessArrayFaultHandler *)handler;*/
withHandler: (EOAccessArrayFaultHandler *)handler;
*/
@end

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EODatabaseDataSource.m
Copyright (C) 2000 Free Software Foundation, Inc.
@ -54,9 +54,9 @@
} _flags;
}
- initWithEditingContext: (EOEditingContext *)anEditingContext
entityName: (NSString *)anEntityName;
- initWithEditingContext: (EOEditingContext *)editingContext
- (id)initWithEditingContext: (EOEditingContext *)editingContext
entityName: (NSString *)entityName;
- (id)initWithEditingContext: (EOEditingContext *)editingContext
entityName: (NSString *)entityName
fetchSpecificationName: (NSString *)fetchName;

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EODatabaseOperation.h
Copyright (C) 2000 Free Software Foundation, Inc.
@ -160,18 +160,14 @@ The newRow dictionary is created when creating the database operation (in EOData
- (void)setNewRow: (NSMutableDictionary *)newRow;
- (EOGlobalID *)globalID;
- (id)object;
- (EOEntity *)entity;
- (EODatabaseOperator)databaseOperator;
- (void)setDatabaseOperator: (EODatabaseOperator)dbOp;
- (NSDictionary *)rowDiffs;
- (NSDictionary *)rowDiffsForAttributes: (NSArray *)attributes;
- (NSDictionary *)primaryKeyDiffs;
/** returns array of EOAdaptorOperations to perform **/

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EODatabaseOperationPriv.h
Copyright (C) 2000 Free Software Foundation, Inc.

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EODefines.h
Copyright (C) 2003 Free Software Foundation, Inc.

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EODeprecated.h
Copyright (C) 2002 Free Software Foundation, Inc.

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOEntity.h
Copyright (C) 2000 Free Software Foundation, Inc.
@ -188,10 +188,10 @@
/* Getting primary keys and snapshot for row */
- (NSDictionary *)primaryKeyForRow: (NSDictionary *)row;
- (BOOL)isValidAttributeUsedForLocking: (EOAttribute *)anAttribute;
- (BOOL)isValidPrimaryKeyAttribute: (EOAttribute *)anAttribute;
- (BOOL)isValidAttributeUsedForLocking: (EOAttribute *)attribute;
- (BOOL)isValidPrimaryKeyAttribute: (EOAttribute *)attribute;
- (BOOL)isPrimaryKeyValidInObject: (id)object;
- (BOOL)isValidClassProperty: aProp;
- (BOOL)isValidClassProperty: (id)property;
/** Accessing the user dictionary **/
- (NSDictionary *)userInfo;
@ -257,7 +257,7 @@
@interface EOEntity (EOModelReferentialIntegrity)
- (BOOL)referencesProperty:property;
- (BOOL)referencesProperty: (id)property;
- (NSArray *)externalModelsReferenced;
@end
@ -363,7 +363,7 @@ GDL2ACCESS_EXPORT NSString *EONextPrimaryKeyProcedureOperation;
+ (EOEntityClassDescription *)entityClassDescriptionWithEntity: (EOEntity *)entity;
/** initialize with entity **/
- initWithEntity: (EOEntity *)entity;
- (id)initWithEntity: (EOEntity *)entity;
/** returns entity **/
- (EOEntity *)entity;

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOEntityPriv.h
Copyright (C) 2000 Free Software Foundation, Inc.

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOExpressionArray.h
Copyright (C) 1996 Free Software Foundation, Inc.
@ -46,7 +46,7 @@
@protocol EOExpressionContext <NSObject>
- (NSString *)expressionValueForAttribute: (EOAttribute *)anAttribute;
- (NSString *)expressionValueForAttribute: (EOAttribute *)attribute;
- (NSString *)expressionValueForAttributePath: (NSArray *)path;
@end
@ -72,7 +72,7 @@
suffix: (NSString *)suffix;
/* Initializing instances */
- initWithPrefix: (NSString *)prefix
- (id)initWithPrefix: (NSString *)prefix
infix: (NSString *)infix
suffix: (NSString *)suffix;
@ -90,7 +90,7 @@
- (void)setSuffix: (NSString *)suffix;
/* Checking contents */
- (BOOL)referencesObject: (id)anObject;
- (BOOL)referencesObject: (id)object;
- (NSString *)expressionValueForContext: (id<EOExpressionContext>)ctx;

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOJoin.h
Copyright (C) 1996 Free Software Foundation, Inc.
@ -46,7 +46,7 @@
+ (EOJoin *)joinWithSourceAttribute: (EOAttribute *)source
destinationAttribute: (EOAttribute *)destination;
- initWithSourceAttribute: (EOAttribute *)source
- (id)initWithSourceAttribute: (EOAttribute *)source
destinationAttribute: (EOAttribute *)destination;
- (NSString *)description;

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOModel.h
Copyright (C) 2000-2002 Free Software Foundation, Inc.
@ -96,7 +96,7 @@
- (NSArray *)storedProcedures;
/** Getting an object's entity **/
- (EOEntity *)entityForObject: object;
- (EOEntity *)entityForObject: (id)object;
/** Accessing the connection dictionary **/
- (NSDictionary *)connectionDictionary;
@ -116,7 +116,7 @@
@interface EOModel (EOModelFileAccess)
+ (EOModel *)modelWithContentsOfFile: (NSString *)path;
- initWithContentsOfFile: (NSString *)path;
- (id)initWithContentsOfFile: (NSString *)path;
- (void)writeToFile: (NSString *)path;
@end
@ -174,7 +174,7 @@
- (void)loadAllModelObjects;
/* Checking references */
- (NSArray *)referencesToProperty: property;
- (NSArray *)referencesToProperty: (id)property;
- (NSArray *)externalModelsReferenced;
@end

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOModelGroup.h
Copyright (C) 2000 Free Software Foundation, Inc.
@ -31,6 +31,8 @@
#include <EOControl/EOObjectStoreCoordinator.h>
#include <EOAccess/EODefines.h>
@class NSArray;
@class NSDictionary;
@ -97,13 +99,12 @@
- (EOFetchSpecification *)fetchSpecificationNamed: (NSString *)fetchSpecName
entityNamed: (NSString *)entityName;
- (EOStoredProcedure *)storedProcedureNamed: (NSString *)aName;
- (EOStoredProcedure *)storedProcedureNamed: (NSString *)name;
@end
// Notifications:
extern NSString *EOModelAddedNotification;
extern NSString *EOModelInvalidatedNotification;
GDL2ACCESS_EXPORT NSString *EOModelAddedNotification;
GDL2ACCESS_EXPORT NSString *EOModelInvalidatedNotification;
@interface NSObject (EOModelGroupClassDelegation)

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOPropertyListEncoding.h
Copyright (C) 2000 Free Software Foundation, Inc.
@ -41,7 +41,7 @@
@protocol EOPropertyListEncoding
- initWithPropertyList: (NSDictionary *)propertyList owner: (id)owner;
- (id)initWithPropertyList: (NSDictionary *)propertyList owner: (id)owner;
- (void)awakeWithPropertyList: (NSDictionary *)propertyList;

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EORelationship.h
Copyright (C) 2000 Free Software Foundation, Inc.

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOSQLExpression.h
Copyright (C) 2000 Free Software Foundation, Inc.
@ -91,8 +91,10 @@ GDL2ACCESS_EXPORT NSString *EOBindVariableColumnKey;
qualifier: (EOQualifier *)qualifier
entity: (EOEntity *)entity;
/* The endity parameter is typed to 'id' for signature compatibility
with EOF. Note that only EOEntity * objects should be passed. */
+ (EOSQLExpression *)deleteStatementWithQualifier: (EOQualifier *)qualifier
entity: entity;
entity: (id)entity;
+ (EOSQLExpression *)selectStatementForAttributes: (NSArray *)attributes
lock: (BOOL)yn
@ -101,7 +103,7 @@ GDL2ACCESS_EXPORT NSString *EOBindVariableColumnKey;
+ (id)sqlExpressionWithEntity: (EOEntity *)entity;
- initWithEntity: (EOEntity *)entity;
- (id)initWithEntity: (EOEntity *)entity;
- (NSMutableDictionary *)aliasesByRelationshipPath;
- (EOEntity *)entity;
@ -175,9 +177,7 @@ GDL2ACCESS_EXPORT NSString *EOBindVariableColumnKey;
value: (NSString *)value;
+ (NSString *)formatStringValue: (NSString *)string;
+ (NSString *)formatValue: (id)value forAttribute: (EOAttribute *)attribute;
+ (NSString *)formatSQLString: (NSString *)sqlString
format: (NSString *)format;
@ -199,15 +199,10 @@ GDL2ACCESS_EXPORT NSString *EOBindVariableColumnKey;
- (BOOL)useAliases;
- (NSString *)sqlStringForSchemaObjectName: (NSString *)name;
- (NSString *)sqlStringForAttributeNamed: (NSString *)name;
- (NSString *)sqlStringForSelector: (SEL)selector value: (id)value;
- (NSString *)sqlStringForValue: (id)value attributeNamed: (NSString *)string;
- (NSString *)sqlStringForAttribute: (EOAttribute *)anAttribute;
- (NSString *)sqlStringForAttribute: (EOAttribute *)attribute;
- (NSString *)sqlStringForAttributePath: (NSArray *)path;
- (void)appendItem: (NSString *)itemString
@ -219,17 +214,15 @@ GDL2ACCESS_EXPORT NSString *EOBindVariableColumnKey;
- (NSMutableDictionary *)bindVariableDictionaryForAttribute: (EOAttribute *)attribute
value: value;
value: (id)value;
- (BOOL)shouldUseBindVariableForAttribute: (EOAttribute *)att;
- (BOOL)mustUseBindVariableForAttribute: (EOAttribute *)att;
+ (BOOL)useBindVariables;
+ (void)setUseBindVariables: (BOOL)yn;
- (NSArray *)bindVariableDictionaries;
- (void)addBindVariableDictionary: (NSMutableDictionary *)binding;
@end

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOSQLExpression.h
Copyright (C) 2002 Free Software Foundation, Inc.

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOSQLQualifier.h
Copyright (C) 2000-2002 Free Software Foundation, Inc.
@ -51,7 +51,8 @@
- (NSString *)sqlStringForSQLExpression: (EOSQLExpression *)sqlExpression;
/** Returns an equivalent EOQualifier with object references replaced by foreign key references. **/
/** Returns an equivalent EOQualifier yet having the object references
replaced by foreign key references. **/
- (EOQualifier *)schemaBasedQualifierWithRootEntity: (EOEntity *)entity;
@end
@ -69,9 +70,6 @@
@end
//
// Finally, declare the EOSQLQualifier class.
//
@interface EOSQLQualifier : EOQualifier <EOQualifierSQLGeneration>
{
EOEntity *_entity;
@ -87,7 +85,6 @@
- (id)initWithEntity: (EOEntity *)entity
qualifierFormat: (NSString *)qualifierFormat, ...;
// This is the designated initializer for EOSQLQualifier.
@end

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOStoredProcedure.h
Copyright (C) 2000 Free Software Foundation, Inc.

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOUtilities.h
Copyright (C) 2000 Free Software Foundation, Inc.

View file

@ -1,4 +1,4 @@
/**
/* -*-objc-*-
EOArrayDataSource.h
Copyright (C) 2003 Free Software Foundation, Inc.

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOCheapArray.h
Copyright (C) 2000 Free Software Foundation, Inc.

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOClassDescription.h
Copyright (C) 2000 Free Software Foundation, Inc.
@ -35,6 +35,7 @@
#include <Foundation/Foundation.h>
#endif
#include <EOControl/EODefines.h>
@class NSDictionary;
@class NSFormatter;
@ -65,7 +66,9 @@ typedef enum
+ (void)setClassDelegate: (id)delegate;
+ (id)classDelegate;
// Must be implemented by subclasses.
/*
* Subclass responsibility.
*/
- (NSString *)entityName;
- (id)createInstanceWithEditingContext: (EOEditingContext *)editingContext
@ -89,7 +92,7 @@ fromFetchInEditingContext: (EOEditingContext *)editingContext;
- (NSMutableDictionary *)dictionaryForInstanceProperties;
- (EORelationship *)relationshipNamed: (NSString *)relationshipName;
- (EORelationship *)anyRelationshipNamed: (NSString *)relationshipNamed;
- (EORelationship *)anyRelationshipNamed: (NSString *)relationshipName;
- (NSString *)inverseForRelationshipKey: (NSString *)relationshipKey;
@ -103,7 +106,7 @@ fromFetchInEditingContext: (EOEditingContext *)editingContext;
- (NSString *)displayNameForKey: (NSString *)key;
- (NSString *)userPresentableDescriptionForObject: (id)anObject;
- (NSString *)userPresentableDescriptionForObject: (id)object;
- (NSException *)validateValue: (id *)valueP forKey: (NSString *)key;
@ -116,8 +119,8 @@ fromFetchInEditingContext: (EOEditingContext *)editingContext;
@interface NSObject (EOInitialization)
- initWithEditingContext: (EOEditingContext *)ec
classDescription: (EOClassDescription *)classDesc
- (id)initWithEditingContext: (EOEditingContext *)editingContext
classDescription: (EOClassDescription *)classDescription
globalID: (EOGlobalID *)globalID;
@end
@ -149,12 +152,9 @@ fromFetchInEditingContext: (EOEditingContext *)editingContext;
@end
// Notifications:
extern NSString *EOClassDescriptionNeededNotification;
extern NSString *EOClassDescriptionNeededForClassNotification;
extern NSString *EOClassDescriptionNeededForEntityNameNotification;
GDL2CONTROL_EXPORT NSString *EOClassDescriptionNeededNotification;
GDL2CONTROL_EXPORT NSString *EOClassDescriptionNeededForClassNotification;
GDL2CONTROL_EXPORT NSString *EOClassDescriptionNeededForEntityNameNotification;
@interface NSArray (EOShallowCopy)
@ -187,21 +187,25 @@ extern NSString *EOClassDescriptionNeededForEntityNameNotification;
@interface NSObject (EOKeyRelationshipManipulation)
- (void)addObject: object toPropertyWithKey: (NSString *)key;
- (void)addObject: (id)object toPropertyWithKey: (NSString *)key;
- (void)removeObject: object fromPropertyWithKey: (NSString *)key;
- (void)removeObject: (id)object fromPropertyWithKey: (NSString *)key;
- (void)addObject: object toBothSidesOfRelationshipWithKey: (NSString *)key;
- (void)removeObject: object
- (void)addObject: (id)object
toBothSidesOfRelationshipWithKey: (NSString *)key;
- (void)removeObject: (id)object
fromBothSidesOfRelationshipWithKey: (NSString *)key;
@end
// Validation exceptions (with name EOValidationException)
extern NSString *EOValidationException;
extern NSString *EOAdditionalExceptionsKey;
extern NSString *EOValidatedObjectUserInfoKey;
extern NSString *EOValidatedPropertyUserInfoKey;
/*
* Validation exceptions (with name EOValidationException)
*/
GDL2CONTROL_EXPORT NSString *EOValidationException;
GDL2CONTROL_EXPORT NSString *EOAdditionalExceptionsKey;
GDL2CONTROL_EXPORT NSString *EOValidatedObjectUserInfoKey;
GDL2CONTROL_EXPORT NSString *EOValidatedPropertyUserInfoKey;
@interface NSException (EOValidationError)
@ -214,7 +218,7 @@ extern NSString *EOValidatedPropertyUserInfoKey;
@interface NSObject (EOClassDescriptionClassDelegate)
- (BOOL)shouldPropagateDeleteForObject: (id)object
inEditingContext: (EOEditingContext *)ec
inEditingContext: (EOEditingContext *)editingContext
forRelationshipKey: (NSString *)key;
@end

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EODataSource.h
Copyright (C) 2000 Free Software Foundation, Inc.
@ -44,23 +44,18 @@
@interface EODataSource : NSObject
- (id)createObject;
- (void)insertObject: object;
- (void)deleteObject: object;
- (void)insertObject: (id)object;
- (void)deleteObject: (id)object;
- (NSArray *)fetchObjects;
- (EOEditingContext *)editingContext;
- (void)qualifyWithRelationshipKey: (NSString *)key ofObject: sourceObject;
- (void)qualifyWithRelationshipKey: (NSString *)key ofObject: (id)sourceObject;
- (EODataSource *)dataSourceQualifiedByKey: (NSString *)key;
- (EOClassDescription *)classDescriptionForObjects;
- (NSArray *)qualifierBindingKeys;
- (void)setQualifierBindings: (NSDictionary *)bindings;
- (NSDictionary *)qualifierBindings;

View file

@ -1,4 +1,5 @@
/* debug.h - debug
/* -*-objc-*-
debug.h - debug
Copyright (C) 1999, 2002, 2003 Free Software Foundation, Inc.
Written by: Manuel Guesdon <mguesdon@sbuilders.com>

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EODefines.h
Copyright (C) 2003 Free Software Foundation, Inc.

View file

@ -1,4 +1,4 @@
/**
/** -*-objc-*-
EODeprecated.h
Copyright (C) 2003 Free Software Foundation, Inc.

View file

@ -1,5 +1,5 @@
/*
EODetailDataSource.m
/* -*-objc-*-
EODetailDataSource.h
Copyright (C) 2000 Free Software Foundation, Inc.
@ -44,10 +44,10 @@
+ (EODetailDataSource *)detailDataSourceWithMasterDataSource: (EODataSource *)master
detailKey: (NSString *)detailKey;
- initWithMasterClassDescription: (EOClassDescription *)masterClassDescription
- (id)initWithMasterClassDescription: (EOClassDescription *)masterClassDescription
detailKey: (NSString *)detailKey;
- initWithMasterDataSource: (EODataSource *)master
- (id)initWithMasterDataSource: (EODataSource *)master
detailKey: (NSString *)detailKey;
- (id)initWithKeyValueUnarchiver: (EOKeyValueUnarchiver *)unarchiver;
@ -59,7 +59,7 @@
- (EOClassDescription *)classDescriptionForObjects;
- (void)qualifyWithRelationshipKey: (NSString *)key
ofObject: masterObject;
ofObject: (id)masterObject;
- (NSString *)detailKey;
- (void)setDetailKey: (NSString *)detailKey;
- (id)masterObject;

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOEditingContext.h
Copyright (C) 2000-2002 Free Software Foundation, Inc.
@ -37,6 +37,8 @@
#include <EOControl/EOObjectStore.h>
#include <EOControl/EOObserver.h>
#include <EOControl/EODefines.h>
@class NSArray;
@class NSMutableArray;
@ -70,9 +72,9 @@
unsigned registeredForCallback:1;
unsigned propagatesDeletesAtEndOfEvent:1;
unsigned ignoreChangeNotification:1;
unsigned exhaustiveValidation:1;// unsigned stopsValidation:1;
unsigned exhaustiveValidation:1; /* unsigned stopsValidation:1; */
unsigned autoLocking:1;
unsigned processingChanges:1;// unsigned savingChanges:1;
unsigned processingChanges:1; /* unsigned savingChanges:1; */
unsigned skipInvalidateOnDealloc:1;
unsigned useCommittedSnapshot:1;
unsigned registeredUndoTransactionID:1;
@ -100,12 +102,12 @@
+ (void)setInstancesRetainRegisteredObjects: (BOOL)flag;
+ (BOOL)instancesRetainRegisteredObjects;
- initWithParentObjectStore:(EOObjectStore *)parentObjectStore;
- (id)initWithParentObjectStore: (EOObjectStore *)parentObjectStore;
- (NSArray *)objectsWithFetchSpecification: (EOFetchSpecification *)fetchSpecification;
- (void)insertObject: (id)object;
- (void)insertObject: object
- (void)insertObject: (id)object
withGlobalID: (EOGlobalID *)gid;
- (void)_insertObject: (id)object
withGlobalID: (EOGlobalID *)gid;
@ -113,17 +115,14 @@
-(void)setLevelsOfUndo: (int)levels;
- (void)deleteObject: (id)object;
- (void)lockObject: (id)object;
- (BOOL)hasChanges;
- (void)saveChanges;
- (void)revert;
- (id)objectForGlobalID: (EOGlobalID *)globalID;
- (EOGlobalID *)globalIDForObject: object;
- (EOGlobalID *)globalIDForObject: (id)object;
- (void)setDelegate: (id)delegate;
- (id)delegate;
@ -229,7 +228,7 @@ modified state of the object.**/
relationshipName: (NSString *)name
editingContext: (EOEditingContext *)context;
- (void)refaultObject: object
- (void)refaultObject: (id)object
withGlobalID: (EOGlobalID *)globalID
editingContext: (EOEditingContext *)context;
@ -248,14 +247,13 @@ modified state of the object.**/
@end
// used with NSRunLoop's performSelector:target:argument:order:modes:
/* To be used with NSRunLoop's performSelector:target:argument:order:modes: */
enum {
EOEditingContextFlushChangesRunLoopOrdering = 300000
};
extern NSString *EOObjectsChangedInEditingContextNotification;
extern NSString *EOEditingContextDidSaveChangesNotification;
GDL2CONTROL_EXPORT NSString *EOObjectsChangedInEditingContextNotification;
GDL2CONTROL_EXPORT NSString *EOEditingContextDidSaveChangesNotification;
@interface NSObject (EOEditingContext)
@ -264,9 +262,9 @@ extern NSString *EOEditingContextDidSaveChangesNotification;
@end
//
// Delegation methods
//
/*
* Methods implemented by the delegate.
*/
@interface NSObject (EOEditingContextDelegation)
- (BOOL)editingContext: (EOEditingContext *)editingContext
@ -292,9 +290,9 @@ shouldMergeChangedObject: (id)object;
@end
//
// EOEditors informal protocol
//
/*
* Informal protocol for EOEditors.
*/
@interface NSObject (EOEditors)
- (BOOL)editorHasChangesForEditingContext: (EOEditingContext *)editingContext;
@ -303,9 +301,9 @@ shouldMergeChangedObject: (id)object;
@end
//
// EOMessageHandler informal protocol
//
/*
* Informal protocol for EOMessageHandlers.
*/
@interface NSObject (EOMessageHandlers)
- (void)editingContext: (EOEditingContext *)editingContext
@ -349,7 +347,9 @@ shouldContinueFetchingWithCurrentObjectCount: (unsigned)count
- (void)undo: (id)sender;
- (void)redo: (id)sender;
//Private
/*
* Private
*/
-(NSString *)objectsDescription;
-(NSString *)unprocessedDescription;
@ -364,7 +364,9 @@ shouldContinueFetchingWithCurrentObjectCount: (unsigned)count
@end
// Informations
/*
* Information
*/
@interface EOEditingContext (EOEditingContextInfo)
- (NSDictionary *)unprocessedInfo;

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOFault.h
Copyright (C) 1996-2000 Free Software Foundation, Inc.
@ -88,11 +88,11 @@
- (Class)superclass;
- (Class)class;
- (BOOL)isKindOfClass: (Class)aclass;
- (BOOL)isMemberOfClass: (Class)aclass;
- (BOOL)isKindOfClass: (Class)aClass;
- (BOOL)isMemberOfClass: (Class)aClass;
- (BOOL)conformsToProtocol: (Protocol *)protocol;
- (BOOL)respondsToSelector: (SEL)sel;
- (NSMethodSignature *)methodSignatureForSelector: (SEL)aSelector;
- (NSMethodSignature *)methodSignatureForSelector: (SEL)selector;
- (id)retain;
- (void)release;
@ -110,7 +110,7 @@
- (void)dealloc;
- (NSZone *)zone;
- (BOOL)isProxy; // Always NO.
- (BOOL)isProxy;
- (id)self;
@ -118,8 +118,8 @@
- (void)doesNotRecognizeSelector: (SEL)sel;
- (void)forwardInvocation: (NSInvocation *)invocation;
- gcSetNextObject: (id)anObject;
- gcSetPreviousObject: (id)anObject;
- (id)gcSetNextObject: (id)object;
- (id)gcSetPreviousObject: (id)object;
- (id)gcNextObject;
- (id)gcPreviousObject;
- (BOOL)gcAlreadyVisited;
@ -137,8 +137,9 @@
{
gcInfo gc;
Class _targetClass; // the first 8 bytes of
void *_extraData; // the faulted object
Class _targetClass; /* Cached class of original object. */
void *_extraData; /* Cached memory contents of original object
overwritten by fault handler reference. */
unsigned _extraRefCount;
@ -155,7 +156,7 @@
- (BOOL)decrementExtraRefCountWasZero;
- (unsigned)extraRefCount;
- (NSString *)descriptionForObject: object;
- (NSString *)descriptionForObject: (id)object;
- (Class)classForFault: (id)fault;
@ -174,8 +175,8 @@
// Garbage Collector
- gcSetNextObject: (id)anObject;
- gcSetPreviousObject: (id)anObject;
- (id)gcSetNextObject: (id)object;
- (id)gcSetPreviousObject: (id)object;
- (id)gcNextObject;
- (id)gcPreviousObject;
- (BOOL)gcAlreadyVisited;

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOFetchSpecification.h
Copyright (C) 2000 Free Software Foundation, Inc.
@ -33,6 +33,7 @@
#include <Foundation/Foundation.h>
#endif
#include <EOControl/EODefines.h>
@class NSArray;
@class NSDictionary;
@ -60,15 +61,13 @@
unsigned refreshesRefetchedObjects:1;
unsigned promptsAfterFetchLimit:1;
unsigned allVariablesRequiredFromBindings:1;
unsigned :26; //padding
unsigned reserved:26;
}_flags;
}
+ (EOFetchSpecification *)fetchSpecification;
- init;
- initWithEntityName: (NSString *)entityName
- (id)initWithEntityName: (NSString *)entityName
qualifier: (EOQualifier *)qualifier
sortOrderings: (NSArray *)sortOrderings
usesDistinct: (BOOL)usesDistinct
@ -98,7 +97,7 @@
sortOrderings: (NSArray *)sortOrderings
usesDistinct: (BOOL)usesDistinct;
- copyWithZone:(NSZone *)zone;
- (id)copyWithZone: (NSZone *)zone;
- (id)initWithKeyValueUnarchiver: (EOKeyValueUnarchiver *)unarchiver;
- (void)encodeWithKeyValueArchiver: (EOKeyValueArchiver *)archiver;
@ -154,13 +153,9 @@
@end
extern NSString *EOPrefetchingRelationshipHintKey;
extern NSString *EOFetchLimitHintKey;
extern NSString *EOPromptsAfterFetchLimitHintKey;
GDL2CONTROL_EXPORT NSString *EOPrefetchingRelationshipHintKey;
GDL2CONTROL_EXPORT NSString *EOFetchLimitHintKey;
GDL2CONTROL_EXPORT NSString *EOPromptsAfterFetchLimitHintKey;
#endif

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOGenericRecord.h
Copyright (C) 2000 Free Software Foundation, Inc.
@ -49,18 +49,12 @@
EOMutableKnownKeyDictionary *dictionary;
}
// Initializing new instances
/* Initializing new instances. */
- initWithEditingContext: (EOEditingContext *)context
- (id)initWithEditingContext: (EOEditingContext *)context
classDescription: (EOClassDescription *)classDesc
globalID: (EOGlobalID *)globalID;
#if !FOUNDATION_HAS_KVC
- (id)valueForKey: (NSString *)key;
- (void)takeValue: (id)value
forKey: (NSString *)key;
#endif
+ (void)eoCalculateAllSizeWith: (NSMutableDictionary *)dict;
- (unsigned int)eoCalculateSizeWith: (NSMutableDictionary *)dict;
+ (unsigned int)eoCalculateSizeWith: (NSMutableDictionary *)dict
@ -68,9 +62,10 @@
- (NSString *)debugDictionaryDescription;
/** should returns an array of property names to exclude from entity
instanceDictionaryInitializer.
You can override this to exclude properties manually handled by derived object **/
/** should return an array of property names
to exclude from entity instanceDictionaryInitializer.
You can override this to exclude properties manually
handled by derived object. **/
+ (NSArray *)_instanceDictionaryInitializerExcludedPropertyNames;
@end /* EOGenericRecord */

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOGlobalID.h
Copyright (C) 2000 Free Software Foundation, Inc.
@ -48,7 +48,8 @@
GDL2CONTROL_EXPORT NSString *EOGlobalIDChangedNotification;
@interface EOGlobalID : NSObject <NSCopying>
- (BOOL)isEqual:other;
- (BOOL)isEqual: (id)other;
- (unsigned)hash;
- (BOOL)isTemporary;
@ -68,14 +69,12 @@ enum {
+ (EOTemporaryGlobalID *)temporaryGlobalID;
+ (void)assignGloballyUniqueBytes: (unsigned char *)buffer;
// < Sequence [2], ProcessID [2] , Time [4], IP Addr [4] >
- init;
/* Sequence (2) - ProcessID (2) - Time (4) - IP (4) */
- (BOOL)isTemporary;
- (void)encodeWithCoder: (NSCoder *)aCoder;
- (id)initWithCoder: (NSCoder *)aDecoder;
- (void)encodeWithCoder: (NSCoder *)coder;
- (id)initWithCoder: (NSCoder *)decoder;
@end

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOKeyGlobalID.h
Copyright (C) 2000 Free Software Foundation, Inc.
@ -49,11 +49,11 @@
- (unsigned)keyCount;
- (NSArray *)keyValuesArray;
- (BOOL)isEqual: other;
- (BOOL)isEqual: (id)other;
- (unsigned)hash;
- (void)encodeWithCoder: (NSCoder *)aCoder;
- (id)initWithCoder: (NSCoder *)aDecoder;
- (void)encodeWithCoder: (NSCoder *)coder;
- (id)initWithCoder: (NSCoder *)decoder;
- (BOOL)isFinal;
- (NSString *)description;

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOKeyValueArchiver.h
Copyright (C) 2000 Free Software Foundation, Inc.
@ -48,10 +48,6 @@
id _delegate;
}
- (id) init;
- (void)dealloc;
- (void)encodeObject: (id)object
forKey: (NSString *)key;

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOKeyValueCoding.h
Copyright (C) 2000 Free Software Foundation, Inc.
@ -174,12 +174,12 @@
@interface NSObject (EOKVCGDL2Additions)
/* These are hooks for EOGenericRecord KVC implementaion. */
- (void)smartTakeValue: (id)anObject
forKey: (NSString *)aKey;
- (void)smartTakeValue: (id)anObject
forKeyPath: (NSString *)aKeyPath;
- (void)smartTakeValue: (id)object
forKey: (NSString *)key;
- (void)smartTakeValue: (id)object
forKeyPath: (NSString *)keyPath;
- (void)takeStoredValue: value
- (void)takeStoredValue: (id)value
forKeyPath: (NSString *)key;
- (id)storedValueForKeyPath: (NSString *)key;

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOKeyValueCodingBase.h
Copyright (C) 2000 Free Software Foundation, Inc.

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOMultipleKnownKeyDictionary.h
Copyright (C) 2000 Free Software Foundation, Inc.
@ -68,7 +68,7 @@
dictionary: (NSDictionary *)dictionary;
- (unsigned int)indexForKey: (id)key;
- (id)arrayMappingForKeys: (id)keys;
- (id) subsetMappingForSourceDictionaryInitializer: (EOMKKDInitializer*)initialize
- (id)subsetMappingForSourceDictionaryInitializer: (EOMKKDInitializer *)init
sourceKeys: (NSArray *)sourceKeys
destinationKeys: (NSArray *)destinationKeys;
- (id)subsetMappingForSourceDictionaryInitializer: (id)param0;

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EONSAddOns.h
Copyright (C) 2000 Free Software Foundation, Inc.
@ -109,11 +109,11 @@ GSUseStrictWO451Compatibility(NSString *key);
@interface NSObject (PerformSelect3)
/**
* Causes the receiver to execute the method implementation corresponding
* to aSelector and returns the result.<br />
* to selector and returns the result.<br />
* The method must be one which takes three arguments and returns an object.
* <br />Raises NSInvalidArgumentException if given a null selector.
*/
- (id) performSelector: (SEL)aSelector
- (id)performSelector: (SEL)selector
withObject: (id)object1
withObject: (id)object2
withObject: (id)object3;

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EONull.h
Copyright (C) 1996-2002, 2003 Free Software Foundation, Inc.

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOObjectStore.h
Copyright (C) 2000, 2003 Free Software Foundation, Inc.
@ -65,13 +65,13 @@
relationshipName: (NSString *)name
editingContext: (EOEditingContext *)context;
- (void)refaultObject: object
- (void)refaultObject: (id)object
withGlobalID: (EOGlobalID *)globalID
editingContext: (EOEditingContext *)context;
- (void)saveChangesInEditingContext: (EOEditingContext *)context;
- (NSArray *)objectsWithFetchSpecification: (EOFetchSpecification *)fetchSpecification
- (NSArray *)objectsWithFetchSpecification: (EOFetchSpecification *)fetchSpec
editingContext: (EOEditingContext *)context;
- (BOOL)isObjectLockedWithGlobalID: (EOGlobalID *)gid

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOObjectStoreCoordinator.h
Copyright (C) 2000 Free Software Foundation, Inc.
@ -29,6 +29,8 @@
#include <EOControl/EOObjectStore.h>
#include <EOControl/EODefines.h>
@class NSArray;
@class NSMutableArray;
@ -46,21 +48,19 @@
NSDictionary *_userInfo;
}
- init;
- (void)addCooperatingObjectStore: (EOCooperatingObjectStore *)store;
- (void)removeCooperatingObjectStore: (EOCooperatingObjectStore *)store;
- (NSArray *)cooperatingObjectStores;
- (void)forwardUpdateForObject: object changes: (NSDictionary *)changes;
- (void)forwardUpdateForObject: (id)object changes: (NSDictionary *)changes;
- (NSDictionary *)valuesForKeys: (NSArray *)keys object: object;
- (NSDictionary *)valuesForKeys: (NSArray *)keys object: (id)object;
- (EOCooperatingObjectStore *)objectStoreForGlobalID: (EOGlobalID *)gloablID;
- (EOCooperatingObjectStore *)objectStoreForObject: object;
- (EOCooperatingObjectStore *)objectStoreForObject: (id)object;
- (EOCooperatingObjectStore *)objectStoreForFetchSpecification: (EOFetchSpecification *)fetchSpecification;
@ -73,11 +73,11 @@
@end
// Notifications:
extern NSString *EOCooperatingObjectStoreWasAdded;
extern NSString *EOCooperatingObjectStoreWasRemoved;
/* Notifications */
GDL2CONTROL_EXPORT NSString *EOCooperatingObjectStoreWasAdded;
GDL2CONTROL_EXPORT NSString *EOCooperatingObjectStoreWasRemoved;
extern NSString *EOCooperatingObjectStoreNeeded;
GDL2CONTROL_EXPORT NSString *EOCooperatingObjectStoreNeeded;
@interface EOCooperatingObjectStore : EOObjectStore
@ -90,18 +90,19 @@ extern NSString *EOCooperatingObjectStoreNeeded;
- (BOOL)handlesFetchSpecification: (EOFetchSpecification *)fetchSpecification;
- (void)prepareForSaveWithCoordinator: (EOObjectStoreCoordinator *)coordinator editingContext:(EOEditingContext *)context;
- (void)prepareForSaveWithCoordinator: (EOObjectStoreCoordinator *)coordinator
editingContext: (EOEditingContext *)context;
- (void)recordChangesInEditingContext;
- (void)recordUpdateForObject:object changes: (NSDictionary *)changes;
- (void)recordUpdateForObject: (id)object changes: (NSDictionary *)changes;
- (void)performChanges;
- (void)commitChanges;
- (void)rollbackChanges;
- (NSDictionary *)valuesForKeys: (NSArray *)keys object: object;
- (NSDictionary *)valuesForKeys: (NSArray *)keys object: (id)object;
@end

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOObserver.h
Copyright (C) 2000 Free Software Foundation, Inc.
@ -44,6 +44,7 @@
@end
@protocol EOObserving <NSObject>
- (void)objectWillChange: (id)subject;
@end
@ -90,7 +91,7 @@ typedef enum {
@interface EODelayedObserver : NSObject <EOObserving>
{
@public
EODelayedObserver *_next; // linked list. Nil if not on list.
EODelayedObserver *_next; /* Linked List. */
}
- (void)objectWillChange: (id)subject;
@ -99,14 +100,13 @@ typedef enum {
- (EODelayedObserverQueue *)observerQueue;
// Must be implemented by subclasses
- (void)subjectChanged;
- (void)subjectChanged; /* Subclass responsibility. */
- (void)discardPendingNotification;
@end
// used with NSRunLoop's performSelector:target:argument:order:modes:
/* To be used with NSRunLoop's performSelector:target:argument:order:modes: */
enum
{
EOFlushDelayedObserversRunLoopOrdering = 400000
@ -115,7 +115,8 @@ enum
@interface EODelayedObserverQueue : NSObject
{
EODelayedObserver *_queue[EOObserverNumberOfPriorities]; // lists for each priority
/* Lists per priority. */
EODelayedObserver *_queue[EOObserverNumberOfPriorities];
unsigned _highestNonEmptyQueue;
BOOL _haveEntryInNotificationQueue;
NSArray *_modes;
@ -141,7 +142,7 @@ enum
EOObserverPriority _priority;
}
- initWithTarget: (id)target
- (id)initWithTarget: (id)target
action: (SEL)action
priority: (EOObserverPriority)priority;

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOQualifier.h
Copyright (C) 2000 Free Software Foundation, Inc.
@ -35,6 +35,8 @@
#include <EOControl/EOKeyValueArchiver.h>
#include <EOControl/EODefines.h>
@class NSArray;
@class NSDictionary;
@class NSString;
@ -47,8 +49,6 @@
@interface EOQualifier : NSObject <NSCopying>
{
}
+ (EOQualifier *)qualifierWithQualifierFormat: (NSString *)qualifierFormat, ...;
@ -95,7 +95,7 @@
@protocol EOQualifierEvaluation
- (BOOL)evaluateWithObject: object;
- (BOOL)evaluateWithObject: (id)object;
@end
@ -157,7 +157,7 @@
operatorSelector: (SEL)selector
rightKey: (id)rightKey;
- initWithLeftKey: (NSString *)leftKey
- (id)initWithLeftKey: (NSString *)leftKey
operatorSelector: (SEL)selector
rightKey: (id)rightKey;
- (SEL)selector;
@ -175,8 +175,8 @@
+ (EOQualifier *)qualifierWithQualifierArray: (NSArray *)array;
+ (EOQualifier *)qualifierWithQualifiers: (EOQualifier *)qualifiers, ...;
- initWithQualifiers: (EOQualifier *)qualifiers, ...;
- initWithQualifierArray: (NSArray *)array;
- (id)initWithQualifiers: (EOQualifier *)qualifiers, ...;
- (id)initWithQualifierArray: (NSArray *)array;
- (NSArray *)qualifiers;
@ -191,8 +191,8 @@
+ (EOQualifier *)qualifierWithQualifierArray: (NSArray *)array;
+ (EOQualifier *)qualifierWithQualifiers: (EOQualifier *)qualifiers, ...;
- initWithQualifiers: (EOQualifier *)qualifiers, ...;
- initWithQualifierArray: (NSArray *)array;
- (id)initWithQualifiers: (EOQualifier *)qualifiers, ...;
- (id)initWithQualifierArray: (NSArray *)array;
- (NSArray *)qualifiers;
@ -206,13 +206,13 @@
+ (EOQualifier *)qualifierWithQualifier: (EOQualifier *)qualifier;
- initWithQualifier: (EOQualifier *)qualifier;
- (id)initWithQualifier: (EOQualifier *)qualifier;
- (EOQualifier *)qualifier;
@end
extern NSString *EOQualifierVariableSubstitutionException;
GDL2CONTROL_EXPORT NSString *EOQualifierVariableSubstitutionException;
@interface EOQualifierVariable : NSObject <NSCoding, EOKeyValueArchiving>

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOSortOrdering.h
Copyright (C) 2000 Free Software Foundation, Inc.
@ -26,7 +26,7 @@
#ifndef __EOSortOrdering_h__
#define __EOSortOrdering_h__
/* WO45 OK */
#ifdef GNUSTEP
#include <Foundation/NSObject.h>
@ -47,7 +47,7 @@
+ (EOSortOrdering *)sortOrderingWithKey: (NSString *)key
selector: (SEL)selector;
- initWithKey: (NSString *)key selector: (SEL)selector;
- (id)initWithKey: (NSString *)key selector: (SEL)selector;
- (NSString *)key;
- (SEL)selector;

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOUndoManager.h
Copyright (C) 2000 Free Software Foundation, Inc.

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOModelExtensions.h
Copyright (C) 2001 Free Software Foundation, Inc.

View file

@ -1,4 +1,4 @@
/*
/* -*-objc-*-
EOAttribute+GSDoc.h <title></title>
Copyright (C) 2000-2002 Free Software Foundation, Inc.

View file

@ -1,4 +1,4 @@
/**
/* -*-objc-*-
EOEntity+GSDoc.h <title></title>
Copyright (C) 2000-2002 Free Software Foundation, Inc.

View file

@ -1,4 +1,4 @@
/**
/* -*-objc-*-
EOJoin+GSDoc.h <title>EOJoin+GSDoc</title>
Copyright (C) 2000-2002 Free Software Foundation, Inc.

View file

@ -1,4 +1,4 @@
/**
/* -*-objc-*-
EOModel+GSDoc.h <title></title>
Copyright (C) 2000-2002 Free Software Foundation, Inc.

View file

@ -1,4 +1,4 @@
/**
/* -*-objc-*-
EORelationship+GSDoc.h <title></title>
Copyright (C) 2000-2002 Free Software Foundation, Inc.

View file

@ -1,4 +1,4 @@
/**
/* -*-objc-*-
NSArray+GSDoc.h <title></title>
Copyright (C) 2000-2002 Free Software Foundation, Inc.

View file

@ -1,4 +1,4 @@
/**
/* -*-objc-*-
NSDictionary+GSDoc.h <title></title>
Copyright (C) 2000-2002 Free Software Foundation, Inc.