1 | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ |
2 | /* |
3 | * This file is part of the LibreOffice project. |
4 | * |
5 | * This Source Code Form is subject to the terms of the Mozilla Public |
6 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
7 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. |
8 | */ |
9 | #include <sal/types.h> |
10 | #include <rtl/ustring.h> |
11 | |
12 | typedef struct { |
13 | rtl_uString *pAppPath; |
14 | const char *pPageinType; // @pagein-writer for - writer etc. else NULL |
15 | sal_Bool bInhibitSplash; // should we show a splash screen |
16 | sal_Bool bInhibitPagein; // should we run pagein ? |
17 | sal_Bool bInhibitJavaLdx; // should we run javaldx ? |
18 | sal_Bool bInhibitPipe; // for --help and --version |
19 | |
20 | sal_uInt32 nArgsEnv; // number of -env: style args |
21 | sal_uInt32 nArgsTotal; // number of -env: as well as -writer style args |
22 | rtl_uString *ppArgs[1]; // sorted argument array |
23 | } Args; |
24 | |
25 | Args *args_parse (void); |
26 | void args_free (Args *args); |
27 | |
28 | /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |
29 | |