diff options
Diffstat (limited to 'desktop/win32/source/applauncher/launcher.hxx')
-rw-r--r-- | desktop/win32/source/applauncher/launcher.hxx | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/desktop/win32/source/applauncher/launcher.hxx b/desktop/win32/source/applauncher/launcher.hxx new file mode 100644 index 000000000000..561b94a8f882 --- /dev/null +++ b/desktop/win32/source/applauncher/launcher.hxx @@ -0,0 +1,21 @@ +#pragma once +#ifndef __cplusplus +#error Need C++ to compile +#endif + +#ifndef _INC_TCHAR +# ifdef UNICODE +# define _UNICODE +# endif +# include <tchar.h> +#endif + +#ifdef UNICODE +# define GetArgv( pArgc ) CommandLineToArgvW( GetCommandLine(), pArgc ) +#else +# define GetArgv( pArgc ) (*pArgc = __argc, __argv) +#endif + +#define OFFICE_IMAGE_NAME _T("soffice") + +extern _TCHAR APPLICATION_SWITCH[]; |