diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-08-06 11:42:47 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-08-06 11:42:47 +0000 |
commit | 7b840caf675ece703faf5a16749b47d1b023bdcd (patch) | |
tree | f75b1469e8a399f7dacec9c59ed1e77dc2300f66 /Source/TableDocument.h | |
parent | 6057dffc7574a266f9d2ce0e9f96479c9fb7e472 (diff) | |
download | sequelpro-7b840caf675ece703faf5a16749b47d1b023bdcd.tar.gz sequelpro-7b840caf675ece703faf5a16749b47d1b023bdcd.tar.bz2 sequelpro-7b840caf675ece703faf5a16749b47d1b023bdcd.zip |
• added encoding popup list as accessory view for Open spf or sql files
- renamed menu item to Open
- if sql file is selected encoding popup list is enabled otherwise not since spf will be encoded in UTF-8
Diffstat (limited to 'Source/TableDocument.h')
-rw-r--r-- | Source/TableDocument.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/TableDocument.h b/Source/TableDocument.h index 4cf4e369..a89a4a69 100644 --- a/Source/TableDocument.h +++ b/Source/TableDocument.h @@ -29,6 +29,11 @@ #import <MCPKit/MCPKit.h> #import <WebKit/WebKit.h> +enum { + NoStringEncoding = 0xFFFFFFFF +}; + + @class SPConnectionController; /** @@ -79,6 +84,9 @@ IBOutlet NSSplitView *contentViewSplitter; IBOutlet id sidebarGrabber; + IBOutlet NSPopUpButton *encodingPopUp; + IBOutlet id encodingAccessoryView; + IBOutlet NSTextView *customQueryTextView; IBOutlet NSTableView *dbTablesTableView; @@ -113,6 +121,8 @@ NSMutableArray *allDatabases; NSString *queryEditorInitString; + + NSArray *encodings; } - (NSString *)getHTMLforPrint; |