summaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-04-23 21:21:24 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:30 -0400
commit340dacf118f2f457ffc962cb46e8b3ef59017376 (patch)
tree7731b526b2957892c194391a47abde5cb824cd62 /utils.h
parentd268bb46c09195230307b0cd771eea99b90bf5ec (diff)
downloadfork-ledger-340dacf118f2f457ffc962cb46e8b3ef59017376.tar.gz
fork-ledger-340dacf118f2f457ffc962cb46e8b3ef59017376.tar.bz2
fork-ledger-340dacf118f2f457ffc962cb46e8b3ef59017376.zip
Moved all system includes into system.hh; added support for using system.hh as a pre-compiled header
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/utils.h b/utils.h
new file mode 100644
index 00000000..4ff8a006
--- /dev/null
+++ b/utils.h
@@ -0,0 +1,24 @@
+#ifndef _UTILS_H
+#define _UTILS_H
+
+#include <system.hh>
+
+// jww (2007-04-23): Need to clean up the following include files. I
+// want to following services:
+//
+// error reporting via exceptions
+// error context stack and display (copy-by-value)
+// logging (always on, but with user-settable levels)
+// assert (always on, unless the users asks for them off)
+// timing of critical areas (and warning on variance from expectation)
+// debugging (optionally on)
+// verification (optionally on, like debugging but silent)
+// memory tracing and debugging (and watching for threshholds)
+
+#include "trace.h"
+#include "debug.h"
+#include "timing.h"
+#include "error.h"
+#include "util.h"
+
+#endif // _UTILS_H