blob: ae6f0ad4c3c55b31876fa1fde02f3c38ee6b115a (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
/*
ConnectBot: simple, powerful, open-source SSH client for Android
Copyright (C) 2007-2008 Kenny Root, Jeffrey Sharkey
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.connectbot.util;
import android.os.Build;
/**
* @author Kenny Root
*
*/
public class PreferenceConstants {
public static final boolean PRE_ECLAIR = (Integer.parseInt(Build.VERSION.SDK) <= 4);
public static final String MEMKEYS = "memkeys";
public static final String UPDATE = "update";
public static final String UPDATE_DAILY = "Daily";
public static final String UPDATE_WEEKLY = "Weekly";
public static final String UPDATE_NEVER = "Never";
public static final String LAST_CHECKED = "lastchecked";
public static final String SCROLLBACK = "scrollback";
public static final String EMULATION = "emulation";
public static final String ROTATION = "rotation";
public static final String ROTATION_DEFAULT = "Default";
public static final String ROTATION_LANDSCAPE = "Force landscape";
public static final String ROTATION_PORTRAIT = "Force portrait";
public static final String ROTATION_AUTOMATIC = "Automatic";
public static final String FULLSCREEN = "fullscreen";
public static final String KEYMODE = "keymode";
public static final String KEYMODE_RIGHT = "Use right-side keys";
public static final String KEYMODE_LEFT = "Use left-side keys";
public static final String CAMERA = "camera";
public static final String CAMERA_CTRLA_SPACE = "Ctrl+A then Space";
public static final String CAMERA_CTRLA = "Ctrl+A";
public static final String CAMERA_ESC = "Esc";
public static final String KEEP_ALIVE = "keepalive";
public static final String WIFI_LOCK = "wifilock";
public static final String BUMPY_ARROWS = "bumpyarrows";
public static final String EULA = "eula";
public static final String SORT_BY_COLOR = "sortByColor";
public static final String BELL = "bell";
public static final String BELL_VOLUME = "bellVolume";
public static final String BELL_VIBRATE = "bellVibrate";
public static final String BELL_NOTIFICATION = "bellNotification";
public static final float DEFAULT_BELL_VOLUME = 0.25f;
public static final String CONNECTION_PERSIST = "connPersist";
}
|