xref: /aoo41x/main/idl/inc/command.hxx (revision 67e470da)
1*f3ea6674SAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*f3ea6674SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*f3ea6674SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*f3ea6674SAndrew Rist  * distributed with this work for additional information
6*f3ea6674SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*f3ea6674SAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*f3ea6674SAndrew Rist  * "License"); you may not use this file except in compliance
9*f3ea6674SAndrew Rist  * with the License.  You may obtain a copy of the License at
10*f3ea6674SAndrew Rist  *
11*f3ea6674SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12*f3ea6674SAndrew Rist  *
13*f3ea6674SAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*f3ea6674SAndrew Rist  * software distributed under the License is distributed on an
15*f3ea6674SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*f3ea6674SAndrew Rist  * KIND, either express or implied.  See the License for the
17*f3ea6674SAndrew Rist  * specific language governing permissions and limitations
18*f3ea6674SAndrew Rist  * under the License.
19*f3ea6674SAndrew Rist  *
20*f3ea6674SAndrew Rist  *************************************************************/
21*f3ea6674SAndrew Rist 
22*f3ea6674SAndrew Rist 
23cdf0e10cSrcweir 
24cdf0e10cSrcweir #ifndef _COMMAND_HXX
25cdf0e10cSrcweir #define _COMMAND_HXX
26cdf0e10cSrcweir 
27cdf0e10cSrcweir 
28cdf0e10cSrcweir #include <tools/list.hxx>
29cdf0e10cSrcweir #include <tools/string.hxx>
30cdf0e10cSrcweir 
31cdf0e10cSrcweir #ifndef STRING_LIST
32cdf0e10cSrcweir #define STRING_LIST
33cdf0e10cSrcweir DECLARE_LIST( StringList, String * )
34cdf0e10cSrcweir #endif
35cdf0e10cSrcweir 
36cdf0e10cSrcweir DECLARE_LIST( ByteStringList, ByteString* )
37cdf0e10cSrcweir 
38cdf0e10cSrcweir /******************** class SvCommand ************************************/
39cdf0e10cSrcweir class SvCommand
40cdf0e10cSrcweir {
41cdf0e10cSrcweir public:
42cdf0e10cSrcweir     String      aDataBaseFile;
43cdf0e10cSrcweir     StringList  aInFileList;
44cdf0e10cSrcweir     String      aListFile;
45cdf0e10cSrcweir     String      aSlotMapFile;
46cdf0e10cSrcweir     String      aSfxItemFile;
47cdf0e10cSrcweir     String      aODLFile;
48cdf0e10cSrcweir     String      aCallingFile;
49cdf0e10cSrcweir     String      aCxxFile;
50cdf0e10cSrcweir     String      aHxxFile;
51cdf0e10cSrcweir     String      aSrcFile;
52cdf0e10cSrcweir     String      aPath;
53cdf0e10cSrcweir     String      aCHeaderFile;
54cdf0e10cSrcweir     String      aCSourceFile;
55cdf0e10cSrcweir     String      aTargetFile;
56cdf0e10cSrcweir     ByteString      aSrsLine;
57cdf0e10cSrcweir     String      aHelpIdFile;
58cdf0e10cSrcweir     String      aCSVFile;
59cdf0e10cSrcweir     String      aExportFile;
60cdf0e10cSrcweir     String      aDocuFile;
61cdf0e10cSrcweir     sal_uInt32      nVerbosity;
62cdf0e10cSrcweir     sal_uInt32      nFlags;
63cdf0e10cSrcweir 
64cdf0e10cSrcweir                 SvCommand( int argc, char ** argv );
65cdf0e10cSrcweir                 ~SvCommand();
66cdf0e10cSrcweir };
67cdf0e10cSrcweir 
68cdf0e10cSrcweir void Init();
69cdf0e10cSrcweir class SvIdlWorkingBase;
70cdf0e10cSrcweir sal_Bool ReadIdl( SvIdlWorkingBase * pDataBase, const SvCommand & rCommand );
71cdf0e10cSrcweir void DeInit();
72cdf0e10cSrcweir 
73cdf0e10cSrcweir #endif // _COMMAND_HXX
74cdf0e10cSrcweir 
75