aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableStructureLoading.h
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-07-04 09:41:57 +0000
committerstuconnolly <stuart02@gmail.com>2012-07-04 09:41:57 +0000
commitb414bddc98508b09d37ece8f4394194f3a0234b8 (patch)
treeb023f775363e70a3b4f6c108bed25910948bb04a /Source/SPTableStructureLoading.h
parent2a81ccd4c2047179d572019bb7c1158481c7810d (diff)
downloadsequelpro-b414bddc98508b09d37ece8f4394194f3a0234b8.tar.gz
sequelpro-b414bddc98508b09d37ece8f4394194f3a0234b8.tar.bz2
sequelpro-b414bddc98508b09d37ece8f4394194f3a0234b8.zip
Move the table structure's loading logic into it's own category.
Diffstat (limited to 'Source/SPTableStructureLoading.h')
-rw-r--r--Source/SPTableStructureLoading.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/Source/SPTableStructureLoading.h b/Source/SPTableStructureLoading.h
new file mode 100644
index 00000000..8db66680
--- /dev/null
+++ b/Source/SPTableStructureLoading.h
@@ -0,0 +1,46 @@
+//
+// $Id$
+//
+// SPTableStructureLoading.h
+// Sequel Pro
+//
+// Created by Stuart Connolly (stuconnolly.com) on July 4, 2012
+// Copyright (c) 2012 Stuart Connolly. All rights reserved.
+//
+// Permission is hereby granted, free of charge, to any person
+// obtaining a copy of this software and associated documentation
+// files (the "Software"), to deal in the Software without
+// restriction, including without limitation the rights to use,
+// copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the
+// Software is furnished to do so, subject to the following
+// conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+// OTHER DEALINGS IN THE SOFTWARE.
+
+#import "SPTableStructure.h"
+
+/**
+ * @category SPTableStructureLoading SPTableStructureLoading.h
+ *
+ * @author Stuart Connolly http://stuconnolly.com/
+ *
+ * Contains all functionality related to loading a table's structure.
+ */
+@interface SPTableStructure (SPTableStructureLoading)
+
+- (void)loadTable:(NSString *)aTable;
+- (IBAction)reloadTable:(id)sender;
+- (void)setTableDetails:(NSDictionary *)tableDetails;
+
+@end