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_CLIENTC_H__ 00003 #define __SFIDL_CLIENTC_H__ 00004 00005 #include <map> 00006 #include <iostream> 00007 #include <algorithm> 00008 #include "sfidl-utils.hh" 00009 #include "sfidl-namespace.hh" 00010 #include "sfidl-options.hh" 00011 #include "sfidl-parser.hh" 00012 #include "sfidl-cbase.hh" 00013 #include "sfiparams.hh" /* scatId (SFI_SCAT_*) */ 00014 00015 namespace Sfidl { 00016 00017 class CodeGeneratorClientC : public CodeGeneratorCBase { 00018 protected: 00019 String prefix; 00020 00021 Method methodWithObject (const Class& cd, const Method& md); 00022 void printProcedurePrototypes (PrefixSymbolMode mode); 00023 void printClassMacros(); 00024 void printProcedureImpl (); 00025 void addBindingSpecificFiles (const String& binding_specific_files); 00026 00027 public: 00028 CodeGeneratorClientC(const Parser& parser) : CodeGeneratorCBase (parser) { 00029 } 00030 void help (); 00031 bool run (); 00032 00033 OptionVector getOptions(); 00034 void setOption (const String& option, const String& value); 00035 }; 00036 00037 }; 00038 00039 #endif /* __SFIDL_CLIENTC_H__ */ 00040 00041 /* vim:set ts=8 sts=2 sw=2: */