39 lines
1.1 KiB
C
39 lines
1.1 KiB
C
// Filename: notifySeverity.h
|
|
// Created by: drose (29Feb00)
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
//
|
|
// PANDA 3D SOFTWARE
|
|
// Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved
|
|
//
|
|
// All use of this software is subject to the terms of the Panda 3d
|
|
// Software license. You should have received a copy of this license
|
|
// along with this source code; you will also find a current copy of
|
|
// the license at http://www.panda3d.org/license.txt .
|
|
//
|
|
// To contact the maintainers of this program write to
|
|
// panda3d@yahoogroups.com .
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef NOTIFYSEVERITY_H
|
|
#define NOTIFYSEVERITY_H
|
|
|
|
#include <dtoolbase.h>
|
|
|
|
BEGIN_PUBLISH
|
|
enum NotifySeverity {
|
|
NS_unspecified, // Never used, a special case internally.
|
|
NS_spam,
|
|
NS_debug,
|
|
NS_info,
|
|
NS_warning,
|
|
NS_error, // Specifically, a recoverable error.
|
|
NS_fatal // A nonrecoverable error--expect abort() or core dump.
|
|
};
|
|
END_PUBLISH
|
|
|
|
EXPCL_DTOOLCONFIG ostream &operator << (ostream &out, NotifySeverity severity);
|
|
|
|
#endif
|