Index: runtime/bin/utils.h |
diff --git a/runtime/bin/utils.h b/runtime/bin/utils.h |
index e655f6cd2d1a82de7da8fe95941741f5a48ee0c4..ba236ebc7f908b0b6d9a850b4838c01880a8b6d9 100644 |
--- a/runtime/bin/utils.h |
+++ b/runtime/bin/utils.h |
@@ -69,4 +69,13 @@ class StringUtils { |
static const wchar_t* Utf8ToWide(const char* utf8); |
}; |
+class ShellUtils { |
+ public: |
+ // Get the arguments passed to the program as unicode strings. |
+ // If GetUnicodeArgv returns a pointer that pointer has to be |
+ // deallocated with a call to FreeUnicodeArgv. |
+ static wchar_t** GetUnicodeArgv(int* argc); |
+ static void FreeUnicodeArgv(wchar_t** argv); |
+}; |
+ |
#endif // BIN_UTILS_H_ |