Removed old commented-out code.
[CleverRabbit.git] / RTKBook.h
blobbe1e5aface1ccead7c9766e530508e4df81c018b
1 //
2 // RTKBook.h
3 // (CleverRabbit.app)
4 //
5 // Copyright (c) 2005 A. Karl Keller (http://karlk.net)
6 //
7 // This code is open-source, free software, made available without warranty under
8 // the terms of the GNU General Public License, either version 2 or later (see
9 // http://www.gnu.org/licenses/gpl.html or included copy); as such, it may be
10 // redistributed and/or modified in accordance with that document.
14 #import <Cocoa/Cocoa.h>
15 #import "RTKVerse.h"
17 @interface RTKBook : NSObject
19 NSMutableArray *verses;
20 RTKVerse *currentVerse;
22 // Lossless forwards/backwards compatibility
23 NSDictionary * dictionary;
27 - (id)initWithDictionary:(NSDictionary *)dict;
28 - (id)initWithString:(NSMutableString *)string;
29 - (id)initWithSFMString:(NSMutableString *)string;
30 - (NSMutableDictionary *)dictionaryRepresentation;
31 - (NSString *)string;
32 - (NSString *)sfmString;
33 - (NSMutableAttributedString *)mutableAttributedString:(BOOL)romanString;
34 - (NSMutableArray *)verses;
36 - (void)setDictionary:(NSDictionary *)theDictionary;
37 - (NSDictionary *)dictionary;
39 - (void)setVerses:(NSMutableArray *)theVerses;
40 - (void)setCurrentVerse:(RTKVerse *)verse;
41 - (RTKVerse *)currentVerse;
43 + (id)bookWithVerses:(NSMutableArray *)verses;
47 @end