summaryrefslogtreecommitdiffstats
path: root/Plugins/BuiltInFunctions/LiBuiltInFunctions.h
blob: b3bc479faf39de54142a786616f49dfa081ce3b0 (plain)
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
41
//
//  LiBuiltInFunctions.h
//  Liaison
//
//  Created by Brian Cully on Tue May 13 2003.
//  Copyright (c) 2003 Brian Cully. All rights reserved.
//

#import "BDAlias.h"

#define LiAliasDataAttribute @"LiAliasAttribute"

@class InspectorViewController;

@interface LiBuiltInFunctions : NSObject
<LiBrowserPlugin, LiInspectorPlugin, LiFileStorePlugin, LiFileStoreDelegate>
{
    IBOutlet InspectorViewController *theController;
    LiFileStore *theFileStore;

    NSMutableDictionary *theDefaultAttributes;
}
@property (retain) InspectorViewController *theController;
@property (retain,getter=fileStore) LiFileStore *theFileStore;
@property (retain,getter=defaultAttributes) NSMutableDictionary *theDefaultAttributes;
@end

@interface LiBuiltInFunctions (Accessors)
- (void)setFileStore: (LiFileStore *)aFileStore;
- (InspectorViewController *)viewController;
- (NSMutableDictionary *)defaultAttributes;
- (void)setDefaultAttributes: (NSMutableDictionary *)someAttributes;
@end

@interface LiFileHandle (LiBuiltInFunctions)
- (NSImage *)icon;
- (NSString *)path;
- (NSString *)directory;
- (BDAlias *)alias;
- (void)setAlias: (BDAlias *)anAlias;
@end