/* FBAutoStartInfo.h created by fb on Sun 21-Jan-2001 */

#import <Foundation/NSObject.h>

@class NSDictionary, NSMutableDictionary, NSString;

@interface FBAutoStartInfo : NSObject
{
    NSMutableDictionary *databaseDictionary;
}

- (id)initWithString:(NSString *)string;

// API
- (unsigned int)count;
- (BOOL)isAutoStartingDatabaseNamed:(NSString *)databaseName;

- (NSDictionary *)optionsForDatabaseNamed:(NSString *)databaseName;
- (NSString *)optionsStringForDatabaseNamed:(NSString *)databaseName;

- (void)setOptions:(NSDictionary *)optionsDictionary forDatabaseNamed:(NSString *)databaseName;
- (void)setOptionsString:(NSString *)optionsString forDatabaseNamed:(NSString *)databaseName;

- (void)removeDatabaseNamed:(NSString *)databaseName;

- (NSString *)stringRepresentation;

@end

@interface FBAutoStartInfo (Deprecated)
- (FBAutoStartInfo *)initAutoStartInfoFromString:(NSString *)string;

- (NSString *)databaseNameAtIndex:(unsigned int)index;
- (NSString *)optionsAtIndex:(unsigned int)index;

- (void)removeInfoAtIndex:(unsigned int)index;
- (void)addInfo:(NSString *)databaseName :(NSString *)options;
- (void)replaceOptionsAtIndex:(unsigned int)index with:(NSString *)options;

- (NSString *)convert2String;
@end
