aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableStructure.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPTableStructure.h')
-rw-r--r--Source/SPTableStructure.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/Source/SPTableStructure.h b/Source/SPTableStructure.h
index 781717f8..c8b0ec0a 100644
--- a/Source/SPTableStructure.h
+++ b/Source/SPTableStructure.h
@@ -41,6 +41,18 @@
@class SPExtendedTableInfo;
@class SPTableInfo;
+@interface SPFieldTypeHelp : NSObject {
+ NSString *typeName;
+ NSString *typeDefinition;
+ NSString *typeRange;
+ NSString *typeDescription;
+}
+@property(readonly) NSString *typeName;
+@property(readonly) NSString *typeDefinition;
+@property(readonly) NSString *typeRange;
+@property(readonly) NSString *typeDescription;
+@end
+
@interface SPTableStructure : NSObject
#ifdef SP_CODA
<NSTableViewDelegate, NSTableViewDataSource, NSComboBoxCellDataSource>
@@ -55,7 +67,10 @@
#endif
IBOutlet SPIndexesController *indexesController;
IBOutlet SPDatabaseData *databaseDataInstance;
-
+
+ IBOutlet NSPanel *structureHelpPanel;
+ IBOutlet NSTextView *structureHelpText;
+
#ifndef SP_CODA /* ivars */
IBOutlet id keySheet;
IBOutlet id resetAutoIncrementSheet;
@@ -158,4 +173,6 @@
// Split view interaction
- (IBAction)unhideIndexesView:(id)sender;
++ (SPFieldTypeHelp *)helpForFieldType:(NSString *)typeName;
+
@end