summaryrefslogtreecommitdiff
path: root/desktop/win32/source/applauncher/launcher.hxx
blob: 444789c96a5acb0af7df64e2db8c02c72506d5be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
#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[];

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */