TuttleOFX
1
|
00001 #ifndef _TUTTLE_PLUGIN_LIBAV_LIBAVPRESETPARSER_HPP_ 00002 #define _TUTTLE_PLUGIN_LIBAV_LIBAVPRESETPARSER_HPP_ 00003 00004 #include "LibAVPresetDefinitions.hpp" 00005 00006 namespace tuttle { 00007 namespace plugin { 00008 namespace av { 00009 00010 class LibAVPresetParser 00011 { 00012 public: 00013 LibAVPresetParser(); 00014 ~LibAVPresetParser(); 00015 00016 static PresetsList researchPresetsFiles(); 00017 00018 static PresetsList getPresetListForPathList( const std::string& envVar ); 00019 00020 static bool isValidExtension( const std::string& filename ); 00021 00022 static void getPresetList( std::vector<std::string>& presetID, const std::string& extension = "" ); 00023 static void getPresetList( std::vector<std::string>& presetID, std::vector<std::string>& presetLabelID, const std::string& extension = "" ); 00024 static PresetsList getPresetsPathList( const std::string& extension = "" ); 00025 }; 00026 00027 } 00028 } 00029 } 00030 00031 #endif