aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseDocument.h
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2018-01-20 03:09:01 +0100
committerMax <post@wickenrode.com>2018-01-20 03:09:01 +0100
commitd403528b2e2be083fe80f5a915d1f6867ec9074e (patch)
treecd4daf91b4dc49c46a07d9223576995c48aaeadd /Source/SPDatabaseDocument.h
parentef21bc5c3749756c21804d1592f3a3fe2faf7cab (diff)
parentb04243d4d7befb33383d434fe05ea3d7915ef27d (diff)
downloadsequelpro-d403528b2e2be083fe80f5a915d1f6867ec9074e.tar.gz
sequelpro-d403528b2e2be083fe80f5a915d1f6867ec9074e.tar.bz2
sequelpro-d403528b2e2be083fe80f5a915d1f6867ec9074e.zip
Merge remote-tracking branch 'origin/mergeclasses'
Conflicts: Source/SPQueryControllerInitializer.m Source/SPQueryDocumentsController.m Source/SPQueryFavoriteManager.m
Diffstat (limited to 'Source/SPDatabaseDocument.h')
-rw-r--r--Source/SPDatabaseDocument.h43
1 files changed, 42 insertions, 1 deletions
diff --git a/Source/SPDatabaseDocument.h b/Source/SPDatabaseDocument.h
index 96c78d1a..de7dd55e 100644
--- a/Source/SPDatabaseDocument.h
+++ b/Source/SPDatabaseDocument.h
@@ -291,7 +291,7 @@
int64_t instanceId;
}
-@property (assign) NSTableView *dbTablesTableView;
+@property (nonatomic, assign) NSTableView *dbTablesTableView;
#ifdef SP_CODA /* ivars */
@property (assign) SPDatabaseData* databaseDataInstance;
@@ -537,4 +537,45 @@
#endif
+#pragma mark - SPDatabaseViewController
+
+// Accessors
+- (NSString *)table;
+- (SPTableType)tableType;
+
+- (BOOL)structureLoaded;
+- (BOOL)contentLoaded;
+- (BOOL)statusLoaded;
+
+#ifndef SP_CODA /* method decls */
+// Tab view control
+- (IBAction)viewStructure:(id)sender;
+- (IBAction)viewContent:(id)sender;
+- (IBAction)viewQuery:(id)sender;
+- (IBAction)viewStatus:(id)sender;
+- (IBAction)viewRelations:(id)sender;
+- (IBAction)viewTriggers:(id)sender;
+#endif
+
+- (void)setStructureRequiresReload:(BOOL)reload;
+- (void)setContentRequiresReload:(BOOL)reload;
+- (void)setStatusRequiresReload:(BOOL)reload;
+- (void)setRelationsRequiresReload:(BOOL)reload;
+
+// Table control
+- (void)loadTable:(NSString *)aTable ofType:(SPTableType)aTableType;
+
+#ifndef SP_CODA /* method decls */
+- (NSView *)databaseView;
+#endif
+
+#pragma mark - SPPrintController
+
+- (void)startPrintDocumentOperation;
+- (void)generateHTMLForPrinting;
+- (void)generateTableInfoHTMLForPrinting;
+
+- (NSArray *)columnNames;
+- (NSMutableDictionary *)connectionInformation;
+
@end