Update ooo320-m1
[ooovba.git] / desktop / win32 / source / applauncher / launcher.hxx
blobb1b4033b2747c37602836730db51ae90eca6fa61
1 #pragma once
2 #ifndef __cplusplus
3 #error Need C++ to compile
4 #endif
6 #ifndef _INC_TCHAR
7 # ifdef UNICODE
8 # define _UNICODE
9 # endif
10 # include <tchar.h>
11 #endif
13 #ifdef UNICODE
14 # define GetArgv( pArgc ) CommandLineToArgvW( GetCommandLine(), pArgc )
15 #else
16 # define GetArgv( pArgc ) (*pArgc = __argc, __argv)
17 #endif
19 #define OFFICE_IMAGE_NAME _T("soffice")
21 extern _TCHAR APPLICATION_SWITCH[];