open_toontown_panda3d/dtool/src/prc/notifySeverity.h

41 lines
1.2 KiB
C

// Filename: notifySeverity.h
// Created by: drose (29Feb00)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) 2001 - 2004, 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://etc.cmu.edu/panda3d/docs/license/ .
//
// To contact the maintainers of this program write to
// panda3d-general@lists.sourceforge.net .
//
////////////////////////////////////////////////////////////////////
#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);
EXPCL_DTOOLCONFIG istream &operator >> (istream &in, NotifySeverity &severity);
#endif