00001 #ifndef Impala_Core_VideoSet_MakeVxsDocument_h 00002 #define Impala_Core_VideoSet_MakeVxsDocument_h 00003 00004 #include "Core/VideoSet/MakeVideoSet.h" 00005 #include "Core/VideoSet/VxsDocument.h" 00006 00007 namespace Impala 00008 { 00009 namespace Core 00010 { 00011 namespace VideoSet 00012 { 00013 00014 00015 inline VxsDocument* 00016 MakeVxsDocument(std::string fileName) 00017 { 00018 VideoSet* vidSet = MakeVideoSet(fileName); 00019 VxsDocument* vxsDoc = new VxsDocument(vidSet); 00020 if (FileNameExt(fileName) == "vxs") 00021 vxsDoc->LoadBookmarked(fileName); 00022 return vxsDoc; 00023 } 00024 00025 } // namespace VideoSet 00026 } // namespace Core 00027 } // namespace Impala 00028 00029 #endif