aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConstants.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-06-14 21:20:40 +0000
committerrowanbeentje <rowan@beent.je>2010-06-14 21:20:40 +0000
commitce0bde25cb5388aeb33e57883e7da89473086417 (patch)
treea2c91ca879e15a8f809361a5a5d1a18ee4e603de /Source/SPConstants.h
parent6e1a24c45eb99a9c9f8e1cb708b64bdc504d5efe (diff)
downloadsequelpro-ce0bde25cb5388aeb33e57883e7da89473086417.tar.gz
sequelpro-ce0bde25cb5388aeb33e57883e7da89473086417.tar.bz2
sequelpro-ce0bde25cb5388aeb33e57883e7da89473086417.zip
- Convert connection encoding menus to be menu tag based to fix localisation errors
- Add database encoding retrieval support for MySQL 4.1 - Convert the add table and add database sheets to use encoding menus derived from server supported encodings - Re-layout preferences with larger labels to aid localisation - Fix preference resizing in non-Favorite tabs
Diffstat (limited to 'Source/SPConstants.h')
-rw-r--r--Source/SPConstants.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/Source/SPConstants.h b/Source/SPConstants.h
index 99d16583..0eafec7a 100644
--- a/Source/SPConstants.h
+++ b/Source/SPConstants.h
@@ -151,6 +151,30 @@ typedef enum
SPMainMenuHelp = 7
} SPMainMenuTags;
+// Encoding constants
+typedef enum
+{
+ SPEncodingAutodetect = 0,
+ SPEncodingUCS2 = 10,
+ SPEncodingUTF8 = 20,
+ SPEncodingUTF8viaLatin1 = 30,
+ SPEncodingASCII = 40,
+ SPEncodingLatin1 = 50,
+ SPEncodingMacRoman = 60,
+ SPEncodingCP1250Latin2 = 70,
+ SPEncodingISOLatin2 = 80,
+ SPEncodingCP1256Arabic = 90,
+ SPEncodingGreek = 100,
+ SPEncodingHebrew = 110,
+ SPEncodingLatin5Turkish = 120,
+ SPEncodingCP1257WinBaltic = 130,
+ SPEncodingCP1251WinCyrillic = 140,
+ SPEncodingBig5Chinese = 150,
+ SPEncodingShiftJISJapanese = 160,
+ SPEncodingEUCJPJapanese = 170,
+ SPEncodingEUCKRKorean = 180
+} SPEncodingTypes;
+
// Long running notification time for Growl messages
extern const CGFloat SPLongRunningNotificationTime;