summaryrefslogtreecommitdiff
path: root/desktop/win32/source/applauncher/launcher.hxx
blob: 46829d67037c37e40d46664acba0c65b698d1158 (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: */