diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-09-09 08:16:53 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-09-09 08:16:53 +0000 |
commit | 492bada0606f4ae5594cf0ca0d09d8f495797020 (patch) | |
tree | b4fb464c9874044b9e661e378ce26231b6b0772c /desktop/win32/source/applauncher/launcher.hxx | |
parent | 35d4e9e3ac2857df07f21c082603a65860ac1ed9 (diff) |
INTEGRATION: CWS oasissysint (1.1.2); FILE ADDED
2004/08/27 16:09:26 hro 1.1.2.1: #i28298# New application launcher binaries
Diffstat (limited to 'desktop/win32/source/applauncher/launcher.hxx')
-rw-r--r-- | desktop/win32/source/applauncher/launcher.hxx | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/desktop/win32/source/applauncher/launcher.hxx b/desktop/win32/source/applauncher/launcher.hxx new file mode 100644 index 000000000000..561b94a8f882 --- /dev/null +++ b/desktop/win32/source/applauncher/launcher.hxx @@ -0,0 +1,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[]; |