BEAST/BSE - Better Audio System and Sound Engine
0.8.2
|
00001 // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html 00002 #ifndef _SFIDL_OPTIONS_H_ 00003 #define _SFIDL_OPTIONS_H_ 00004 00005 #include <utility> 00006 #include "sfidl-utils.hh" 00007 00008 namespace Sfidl { 00009 00010 class Factory; 00011 class Parser; 00012 class CodeGenerator; 00013 00014 typedef std::vector< std::pair <String, bool> > OptionVector; 00015 00016 struct Options { 00017 CodeGenerator *codeGenerator; 00018 String codeGeneratorName; 00019 bool doHelp; 00020 bool doExit; 00021 String sfidlName; 00022 00023 std::vector<String> includePath; // path to search for includes 00024 00025 Options (); 00026 bool parse (int *argc_p, char **argv_p[], const Parser& parser); 00027 void printUsage (); 00028 00029 static Options *the(); 00030 }; 00031 00032 }; 00033 #endif /* _SFIDL_OPTIONS_H_ */