--- a/e32tools/elf2e32/source/parametermanager.h Wed Oct 27 19:38:12 2010 +0800
+++ b/e32tools/elf2e32/source/parametermanager.h Thu Oct 28 11:19:23 2010 +0800
@@ -81,7 +81,7 @@
typedef std::map<string, const OptionDesc *, OptionCompare> OptionMap;
typedef vector<char *> LibSearchPaths;
- typedef void (*ParserFn)(ParameterManager *, char *, char *, const OptionDesc *);
+ typedef void (*ParserFn)(ParameterManager *, char const *, char const *, const OptionDesc *);
#define DECLARE_PARAM_PARSER(name) \
@@ -144,6 +144,7 @@
DECLARE_PARAM_PARSER(ParseSymNamedLookup);
DECLARE_PARAM_PARSER(ParseDebuggable);
DECLARE_PARAM_PARSER(ParseSmpSafe);
+ DECLARE_PARAM_PARSER(ParseAsmDialect);
ParameterManager(int aArgc, char** aArgv);
virtual ~ParameterManager();
@@ -195,6 +196,7 @@
void SetSymNamedLookup(bool aVal);
void SetDebuggable(bool aVal);
void SetSmpSafe(bool aVal);
+ void SetAsmDialect(EAsmDialect aAsmDialect);
int NumOptions();
int NumShortOptions();
@@ -279,6 +281,7 @@
bool SymNamedLookup();
bool IsDebuggable();
bool IsSmpSafe();
+ EAsmDialect AsmDialect();
private:
/** The number of command line arguments passed into the program */
@@ -445,6 +448,7 @@
bool iSymNamedLookup;
bool iDebuggable;
bool iSmpSafe;
+ EAsmDialect iAsmDialect;
};