From 9cff98cb70d8e3a69cefe718bf02720134c10bca Mon Sep 17 00:00:00 2001 From: mickeyl Date: Tue, 22 Jun 2004 10:36:11 +0000 Subject: introduce numeric constants for the odebug output destinations --- (limited to 'libopie2/opiecore/odebug.h') 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; -- cgit v0.9.0.2