summaryrefslogtreecommitdiff
path: root/libopie2/opiecore/odebug.h
authormickeyl <mickeyl>2004-06-22 10:36:11 (UTC)
committer mickeyl <mickeyl>2004-06-22 10:36:11 (UTC)
commit9cff98cb70d8e3a69cefe718bf02720134c10bca (patch) (side-by-side diff)
tree750f086afefc20e05b5860bf3065697cb75f98ab /libopie2/opiecore/odebug.h
parent526031c34fff4e789b05fddbd7effe83ef057361 (diff)
downloadopie-9cff98cb70d8e3a69cefe718bf02720134c10bca.zip
opie-9cff98cb70d8e3a69cefe718bf02720134c10bca.tar.gz
opie-9cff98cb70d8e3a69cefe718bf02720134c10bca.tar.bz2
introduce numeric constants for the odebug output destinations
Diffstat (limited to 'libopie2/opiecore/odebug.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/odebug.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/libopie2/opiecore/odebug.h b/libopie2/opiecore/odebug.h
index 3851a41..21a6c26 100644
--- a/libopie2/opiecore/odebug.h
+++ b/libopie2/opiecore/odebug.h
@@ -67,6 +67,13 @@ class ondbgstream;
#define ofatal Opie::Core::odFatal()
#define oendl "\n"
+const int ODEBUG_IGNORE = -1;
+const int ODEBUG_FILE = 0;
+const int ODEBUG_MSGBOX = 1;
+const int ODEBUG_STDERR = 2;
+const int ODEBUG_SYSLOG = 3;
+const int ODEBUG_SOCKET = 4;
+
class odbgstreamprivate;
/**
* odbgstream is a text stream that allows you to print debug messages.
@@ -397,7 +404,7 @@ class ondbgstream {
ondbgstream& operator<<( const QStringList & ) { return *this; }
ondbgstream& operator<<( const QColor & ) { return *this; }
ondbgstream& operator<<( const QBrush & ) { return *this; }
-
+
private:
class Private;
Private *d;