|
From: Martin R. <ru...@us...> - 2004-08-14 06:12:29
|
Update of /cvsroot/foo/foo/libfoo/FOO In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24268 Modified Files: FOOContext.h FOOGlobalsManager.h Log Message: moved archiving entry methods from FOOGlobalsManager to FOOContext, where they belong to Index: FOOContext.h =================================================================== RCS file: /cvsroot/foo/foo/libfoo/FOO/FOOContext.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** FOOContext.h 13 Aug 2004 21:36:50 -0000 1.3 --- FOOContext.h 14 Aug 2004 06:12:18 -0000 1.4 *************** *** 55,58 **** --- 55,61 ---- @class FOOBuffer; + @class NSString; + @class NSDictionary; + // extern id getCurrentContext(); // exported by ../objc/context.m *************** *** 80,83 **** --- 83,95 ---- } + + (BOOL) archiveContext: (FOOContext *)context toFile: (NSString *)path; + // + (BOOL) archiveContextsWithKeys: (NSDictionary *)contexts toFile: (NSString *)path; + + (FOOContext *) contextFromArchive: (NSString *)path; + + (FOOContext *) contextFromArchive: (NSString *)path withKey: (NSString *)key; + + - (FOOContext *) initFromArchive: (NSString *)path; + - (FOOContext *) initFromArchive: (NSString *)path withKey: (NSString *)key; + - (BOOL) archiveToFile: (NSString *)path; + - (FOOContext *) initWithChans: (int)n; - (FOOContext *) setTime: (double)value; Index: FOOGlobalsManager.h =================================================================== RCS file: /cvsroot/foo/foo/libfoo/FOO/FOOGlobalsManager.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** FOOGlobalsManager.h 13 Aug 2004 21:36:50 -0000 1.4 --- FOOGlobalsManager.h 14 Aug 2004 06:12:18 -0000 1.5 *************** *** 89,95 **** + (void) setDefaultBlockSize: (int)size; - + (BOOL) archiveContext: (FOOContext *)context toFile: (NSString *)path; - + (FOOContext *) unArchiveContextWithFile: (NSString *)path; - @end --- 89,92 ---- |