summaryrefslogtreecommitdiff
path: root/desktop/win32/source/applauncher/launcher.hxx
blob: 0dcf720f2aac4986caa25c62f92071ba30f08702 (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
25
26
27
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
#pragma once
#ifndef __cplusplus
#error Need C++ to compile
#endif

#include <Windows.h>

#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[];
extern LPCWSTR APPUSERMODELID;

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