merge the formfield patch from ooo-build
[ooovba.git] / idl / inc / command.hxx
blob792039e15ac141aec65d5b214bd41fa9f58e0c72
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: command.hxx,v $
10 * $Revision: 1.5 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef _COMMAND_HXX
32 #define _COMMAND_HXX
35 #include <tools/list.hxx>
36 #include <tools/string.hxx>
38 #ifndef STRING_LIST
39 #define STRING_LIST
40 DECLARE_LIST( StringList, String * )
41 #endif
43 DECLARE_LIST( ByteStringList, ByteString* )
45 /******************** class SvCommand ************************************/
46 class SvCommand
48 public:
49 String aDataBaseFile;
50 StringList aInFileList;
51 String aListFile;
52 String aSlotMapFile;
53 String aSfxItemFile;
54 String aODLFile;
55 String aCallingFile;
56 String aCxxFile;
57 String aHxxFile;
58 String aSrcFile;
59 String aPath;
60 String aCHeaderFile;
61 String aCSourceFile;
62 String aTargetFile;
63 ByteString aSrsLine;
64 String aHelpIdFile;
65 String aCSVFile;
66 String aExportFile;
67 String aDocuFile;
68 UINT32 nVerbosity;
69 UINT32 nFlags;
71 SvCommand( int argc, char ** argv );
72 ~SvCommand();
75 void Init();
76 class SvIdlWorkingBase;
77 BOOL ReadIdl( SvIdlWorkingBase * pDataBase, const SvCommand & rCommand );
78 void DeInit();
80 #endif // _COMMAND_HXX