summaryrefslogtreecommitdiff
path: root/desktop/win32/source/applauncher/launcher.hxx
blob: b1b4033b2747c37602836730db51ae90eca6fa61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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[];