33 lines
560 B
C
33 lines
560 B
C
// Filename: fltError.h
|
|
// Created by: drose (24Aug00)
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef FLTERROR_H
|
|
#define FLTERROR_H
|
|
|
|
#include <pandatoolbase.h>
|
|
|
|
// Return values for various functions in the flt library.
|
|
enum FltError {
|
|
FE_ok = 0,
|
|
FE_could_not_open,
|
|
FE_empty_file,
|
|
FE_end_of_file,
|
|
FE_read_error,
|
|
FE_invalid_record,
|
|
FE_extra_data,
|
|
FE_write_error,
|
|
FE_bad_data,
|
|
FE_not_implemented,
|
|
FE_undefined_instance,
|
|
FE_internal
|
|
};
|
|
|
|
ostream &operator << (ostream &out, FltError error);
|
|
|
|
#endif
|
|
|
|
|
|
|