diff options
Diffstat (limited to 'plugins/Variables/src/parse_alias.h')
-rw-r--r-- | plugins/Variables/src/parse_alias.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/plugins/Variables/src/parse_alias.h b/plugins/Variables/src/parse_alias.h index 0ac0c09779..5e708b32be 100644 --- a/plugins/Variables/src/parse_alias.h +++ b/plugins/Variables/src/parse_alias.h @@ -20,4 +20,19 @@ #define ADDALIAS _T("alias")
int isValidTokenChar(TCHAR tc);
-TCHAR *getArguments(TCHAR *string, TCHAR ***aargv, int *aargc);
+
+struct TArgList : public LIST<TCHAR>
+{
+ TArgList() :
+ LIST<TCHAR>(1)
+ {}
+
+ void destroy()
+ {
+ for (int i = 0; i < count; i++)
+ mir_free(items[i]);
+ count = 0;
+ }
+};
+
+TCHAR* getArguments(TCHAR *string, TArgList &aargv);
|