Sha256: 9a571f757c65ce378918611f99b5a4ebfbf216f8a1e8228d475786295e295156

Contents?: true

Size: 759 Bytes

Versions: 1

Compression:

Stored size: 759 Bytes

Contents

#import <Foundation/Foundation.h>

#import "api_generator/iphone/IMethodResult.h"


// hash keys used in properties and parameters

#define HK_EXCLUDE @"exclude"

#define HK_INCLUDE @"include"


@protocol IDatabase <NSObject>



// NOTE: if you want to hold methodResult(for example periodically call callbacks) you should release it manually when you stop using it!
@end


@protocol IDatabaseSingleton <NSObject>





@end


@protocol IDatabaseFactory <NSObject>
-(id<IDatabaseSingleton>) getDatabaseSingleton;
-(id<IDatabase>) getDatabaseByID:(NSString*)ID;
-(void) destroyObjectByID:(NSString*)ID;
-(NSArray*) enumerateDatabaseInstances;
@end


@interface DatabaseFactorySingleton : NSObject {
}
+(id<IDatabaseFactory>) getDatabaseFactoryInstance;
@end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tauplatform-1.0.1 lib/commonAPI/coreapi/ext/platform/iphone/generated/IDatabase.h