merge the formfield patch from ooo-build
[ooovba.git] / autodoc / source / exes / adc_uni / cmd_run.hxx
blobd624c8222b65bcb3ba1396aa82ce69085da42fbb
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: cmd_run.hxx,v $
10 * $Revision: 1.7 $
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 ADC_CMD_RUN_HXX
32 #define ADC_CMD_RUN_HXX
36 // USED SERVICES
37 // BASE CLASSES
38 #include <cosv/comdline.hxx>
39 // COMPONENTS
40 // PARAMETERS
42 namespace ary
44 class Repository;
47 namespace autodoc
49 class FileCollector_Ifc;
50 class ParseToolsFactory_Ifc;
51 class CodeParser_Ifc;
52 class DocumentationParser_Ifc;
53 class IdlParser;
56 namespace command
58 class Parse;
59 class S_ProjectData;
60 struct S_LanguageInfo;
62 namespace run
65 /** Performs an ::autodoc::command::Parse .
67 class Parser
69 public:
70 Parser(
71 const Parse & i_command );
72 ~Parser();
74 bool Perform();
76 private:
77 // Locals
78 CodeParser_Ifc & Get_CppParser();
79 IdlParser & Get_IdlParser();
80 void Create_CppParser();
81 void Create_IdlParser();
82 const ParseToolsFactory_Ifc &
83 ParseToolsFactory();
84 uintt GatherFiles(
85 FileCollector_Ifc & o_rFiles,
86 const S_ProjectData &
87 i_rProject );
88 // DATA
89 const Parse & rCommand;
91 Dyn<CodeParser_Ifc> pCppParser;
92 Dyn<DocumentationParser_Ifc>
93 pCppDocuInterpreter;
94 Dyn<IdlParser> pIdlParser;
100 // IMPLEMENTATION
103 } // namespace run
104 } // namespace command
105 } // namespace autodoc
107 #endif