1 #pragma once
2 #ifndef __cplusplus
3 #error Need C++ to compile
4 #endif
5 
6 #ifndef _INC_TCHAR
7 #	ifdef UNICODE
8 #		define _UNICODE
9 #	endif
10 #	include <tchar.h>
11 #endif
12 
13 #ifdef UNICODE
14 #	define GetArgv( pArgc )			CommandLineToArgvW( GetCommandLine(), pArgc )
15 #else
16 #	define GetArgv( pArgc )			(*pArgc = __argc, __argv)
17 #endif
18 
19 #define OFFICE_IMAGE_NAME	_T("soffice")
20 
21 extern _TCHAR APPLICATION_SWITCH[];
22