00001 // Filename: loaderFileType.cxx 00002 // Created by: drose (20Jun00) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved 00008 // 00009 // All use of this software is subject to the terms of the Panda 3d 00010 // Software license. You should have received a copy of this license 00011 // along with this source code; you will also find a current copy of 00012 // the license at http://www.panda3d.org/license.txt . 00013 // 00014 // To contact the maintainers of this program write to 00015 // panda3d@yahoogroups.com . 00016 // 00017 //////////////////////////////////////////////////////////////////// 00018 00019 #include "loaderFileType.h" 00020 00021 TypeHandle LoaderFileType::_type_handle; 00022 00023 //////////////////////////////////////////////////////////////////// 00024 // Function: LoaderFileType::Constructor 00025 // Access: Protected 00026 // Description: 00027 //////////////////////////////////////////////////////////////////// 00028 LoaderFileType:: 00029 LoaderFileType() { 00030 } 00031 00032 //////////////////////////////////////////////////////////////////// 00033 // Function: LoaderFileType::Destructor 00034 // Access: Public, Virtual 00035 // Description: 00036 //////////////////////////////////////////////////////////////////// 00037 LoaderFileType:: 00038 ~LoaderFileType() { 00039 } 00040 00041 //////////////////////////////////////////////////////////////////// 00042 // Function: LoaderFileType::load_file 00043 // Access: Public, Virtual 00044 // Description: 00045 //////////////////////////////////////////////////////////////////// 00046 PT(PandaNode) LoaderFileType:: 00047 load_file(const Filename &path, bool report_errors) const { 00048 loader_cat.error() 00049 << get_type() << " cannot read PandaNode objects.\n"; 00050 return NULL; 00051 }