-
Notifications
You must be signed in to change notification settings - Fork 2
/
KwikiController.h
40 lines (34 loc) · 1.04 KB
/
KwikiController.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//
// KwikiController.h
// PipeIt
//
// Created by RenŽ Puls on 19.01.05.
// Copyright 2005 RenŽ Puls. All rights reserved.
//
// A "kwiki" (registered trademark of Kiza) is a script referenced by the script browser.
#import <Cocoa/Cocoa.h>
#import "ScriptDocument.h"
@class ScriptReference;
@interface KwikiController : NSObject {
NSMutableArray *kwikis;
BOOL didLoadKwikiList;
BOOL savesKwikiList;
}
+ (id)sharedController;
// Accessors
- (unsigned int)countOfKwikis;
- (ScriptReference *)objectInKwikisAtIndex:(unsigned int)index;
- (void)insertObject:(ScriptReference *)newScriptReference inKwikisAtIndex:(unsigned int)index;
- (void)removeObjectFromKwikisAtIndex:(unsigned int)index;
- (unsigned int)indexOfKwikiWithPath:(NSString *)fileName;
- (NSString *)kwikiListPath;
- (BOOL)savesKwikiList;
- (void)setSavesKwikiList:(BOOL)flag;
// Persistence
- (void)loadVersion10KwikiList:(id)sender;
- (void)loadKwikiList:(id)sender;
- (void)saveKwikiList:(id)sender;
@end
@interface ScriptDocument (ScriptReferences)
- (ScriptReference *)reference;
@end