office-gobmx/desktop/win32/source/applauncher/launcher.hxx
2011-03-29 21:40:28 +01:00

24 lines
554 B
C++

/* -*- 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: */