OSDN Git Service

branch for mavericks
[letter-fix/LetterFix.git] / LFApp.h
1 //
2 //  LFApp.h
3 //  LetterFix2
4 //
5 //  Created by kuri on 10/02/26.
6 //  Copyright 2010-2011 kuri. All rights reserved.
7 //
8
9 #import <Cocoa/Cocoa.h>
10 #import <AppKit/AppKit.h>
11 #import "LFMenu.h"
12
13 #define LETTERFIX_VERSION "1.4.0"
14
15 enum LFver {
16     LF_Unknown = -1,
17     LF_Leopard = 0x1050,
18     LF_SnowLeopard = 0x1060,
19     LF_Lion = 0x1070,
20     LF_MountainLion = 0x1080,
21     LF_Mavericks = 0x1090
22 };
23
24 @interface LFApp : NSObject {
25     BOOL isActive;
26     BOOL isOsDependentFix;
27     BOOL parenSymbolFix;
28     BOOL someParenSymbolNotFix;
29     BOOL isAllLetterFix;
30     BOOL changeEncode;
31     int  operationAtOpen;
32     BOOL isCheckSubject;
33     id menu;
34     
35     NSString *version;
36     NSUserDefaults *userDefaults;
37     NSDictionary *infodict;
38     id mailversion;
39     id lastknow;
40     NSInteger ver;
41 }
42 - (id) init;
43 @property BOOL isActive;
44 @property BOOL isOsDependentFix;
45 @property BOOL parenSymbolFix;
46 @property BOOL someParenSymbolNotFix;
47 @property BOOL isAllLetterFix;
48 @property BOOL changeEncode;
49 @property int  operationAtOpen;
50 @property BOOL isCheckSubject;
51 @property(readonly) NSInteger ver;
52 @end