Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

panda/src/egg2pg/loaderFileTypeEgg.cxx

Go to the documentation of this file.
00001 // Filename: loaderFileTypeEgg.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 "loaderFileTypeEgg.h"
00020 #include "load_egg_file.h"
00021 
00022 #include "eggData.h"
00023 
00024 TypeHandle LoaderFileTypeEgg::_type_handle;
00025 
00026 ////////////////////////////////////////////////////////////////////
00027 //     Function: LoaderFileTypeEgg::Constructor
00028 //       Access: Public
00029 //  Description:
00030 ////////////////////////////////////////////////////////////////////
00031 LoaderFileTypeEgg::
00032 LoaderFileTypeEgg() {
00033 }
00034 
00035 ////////////////////////////////////////////////////////////////////
00036 //     Function: LoaderFileTypeEgg::get_name
00037 //       Access: Public, Virtual
00038 //  Description:
00039 ////////////////////////////////////////////////////////////////////
00040 string LoaderFileTypeEgg::
00041 get_name() const {
00042   return "Egg";
00043 }
00044 
00045 ////////////////////////////////////////////////////////////////////
00046 //     Function: LoaderFileTypeEgg::get_extension
00047 //       Access: Public, Virtual
00048 //  Description:
00049 ////////////////////////////////////////////////////////////////////
00050 string LoaderFileTypeEgg::
00051 get_extension() const {
00052   return "egg";
00053 }
00054 
00055 ////////////////////////////////////////////////////////////////////
00056 //     Function: LoaderFileTypeEgg::load_file
00057 //       Access: Public, Virtual
00058 //  Description:
00059 ////////////////////////////////////////////////////////////////////
00060 PT(PandaNode) LoaderFileTypeEgg::
00061 load_file(const Filename &path, bool) const {
00062   PT(PandaNode) result = load_egg_file(path);
00063   return result;
00064 }

Generated on Fri May 2 00:38:12 2003 for Panda by doxygen1.3