aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConstants.h
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-10-19 21:43:02 +0000
committerstuconnolly <stuart02@gmail.com>2010-10-19 21:43:02 +0000
commit10990abb16783d89e5314549883fc1e5acc2e407 (patch)
tree87d259828e7d6dfdbe497c92d8ddd7f3f0223111 /Source/SPConstants.h
parent3e67e208428399a6f802cffe0e6966f89b39e254 (diff)
downloadsequelpro-10990abb16783d89e5314549883fc1e5acc2e407.tar.gz
sequelpro-10990abb16783d89e5314549883fc1e5acc2e407.tar.bz2
sequelpro-10990abb16783d89e5314549883fc1e5acc2e407.zip
Update indexes controller constants.
Diffstat (limited to 'Source/SPConstants.h')
-rw-r--r--Source/SPConstants.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/SPConstants.h b/Source/SPConstants.h
index 5cbfa463..0992cc1b 100644
--- a/Source/SPConstants.h
+++ b/Source/SPConstants.h
@@ -23,6 +23,13 @@
//
// More info at <http://code.google.com/p/sequel-pro/>
+/**
+ * This header should be used to define constants that are used globally (i.e. among multiple classes/files).
+ * Constants that need only be defined for a particular class should be done within the implementation file
+ * of said class. Try to avoid the use of macros to define constants as much as possible as they do not incur
+ * type checking when used and cannot be tested for equality.
+ */
+
// View modes
typedef enum {
SPStructureViewMode = 1,