00001 // Filename: movieVideo.I 00002 // Created by: jyelon (02Jul07) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 00016 //////////////////////////////////////////////////////////////////// 00017 // Function: MovieVideo::get_filename 00018 // Access: Published 00019 // Description: Returns the movie's filename. A movie is not 00020 // guaranteed to have a filename, if not, then this 00021 // function returns an empty filename. 00022 //////////////////////////////////////////////////////////////////// 00023 INLINE const Filename &MovieVideo:: 00024 get_filename() const { 00025 return _filename; 00026 } 00027 00028 //////////////////////////////////////////////////////////////////// 00029 // Function: MovieVideo::get_subfile_info 00030 // Access: Published 00031 // Description: If the movie is to be loaded from a subfile on disk, 00032 // this returns the subfile info. Check info.is_empty() 00033 // to see if this is valid data. 00034 //////////////////////////////////////////////////////////////////// 00035 INLINE const SubfileInfo &MovieVideo:: 00036 get_subfile_info() const { 00037 return _subfile_info; 00038 }