1 /* -*- mode:objc; coding:utf-8; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- */
2 /*
3   Copyright (c) 2003-2005 MacUIM contributors, All rights reserved.
4 
5   Redistribution and use in source and binary forms, with or without
6   modification, are permitted provided that the following conditions
7   are met:
8 
9   1. Redistributions of source code must retain the above copyright
10      notice, this list of conditions and the following disclaimer.
11   2. Redistributions in binary form must reproduce the above copyright
12      notice, this list of conditions and the following disclaimer in the
13      documentation and/or other materials provided with the distribution.
14   3. Neither the name of authors nor the names of its contributors
15      may be used to endorse or promote products derived from this software
16      without specific prior written permission.
17 
18   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' AND
19   ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21   ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE
22   FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23   DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24   OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25   HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26   LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27   OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28   SUCH DAMAGE.
29 */
30 
31 #ifndef Preference_h
32 #define Preference_h
33 
34 
35 // ID of MacUIM component
36 #define kAppID                "info.yatsu.MacUIM"
37 
38 // ID of HelperApplet
39 #define kHelperID             @"info.yatsu.MacUIM.Helper"
40 
41 // ID of MenuCracker
42 #define kMenuCrackerBundleID  @"net.sourceforge.menucracker"
43 
44 // default input method
45 #define kDefaultIM            "anthy"
46 
47 // preference attribute name
48 #define kPrefIM               "InputMethod"
49 
50 // display direction of candidate window
51 #define kPrefCandVertical     "CandListVertical"
52 
53 // transparency of candidate window
54 #define kPrefCandTransparency "CandTransparency"
55 
56 // candidate font name
57 #define kPrefCandFont         "CandFont"
58 
59 // candidate font size
60 #define kPrefCandFontSize     "CandFontSize"
61 
62 // mode-tips enable flag
63 #define kPrefModeTips         "ShowModeTips"
64 
65 // annotation enable flag
66 #define kPrefAnnotation         "ShowAnnotation"
67 
68 // selectable IMs in helper-applet
69 #define kPrefHelperIM         "HelperIMSwitch"
70 
71 // preference changed notification
72 #define kPrefChanged         "Preferences Chagned"
73 
74 #endif // Preference_h
75