diff options
Diffstat (limited to 'autodoc/source/parser/kernel')
-rw-r--r-- | autodoc/source/parser/kernel/parsefct.cxx | 60 | ||||
-rw-r--r-- | autodoc/source/parser/kernel/parsefct.hxx | 49 | ||||
-rw-r--r-- | autodoc/source/parser/kernel/x_docu.cxx | 55 | ||||
-rw-r--r-- | autodoc/source/parser/kernel/x_parse.cxx | 31 |
4 files changed, 0 insertions, 195 deletions
diff --git a/autodoc/source/parser/kernel/parsefct.cxx b/autodoc/source/parser/kernel/parsefct.cxx deleted file mode 100644 index 0ba3daeac931..000000000000 --- a/autodoc/source/parser/kernel/parsefct.cxx +++ /dev/null @@ -1,60 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include <precomp.h> -#include "parsefct.hxx" - - -// NOT FULLY DECLARED SERVICES -#include <tools/filecoll.hxx> - - -DYN ParseToolsFactory * ParseToolsFactory::dpTheInstance_ = 0; - - -namespace autodoc -{ - -ParseToolsFactory_Ifc & -ParseToolsFactory_Ifc::GetIt_() -{ - if ( ParseToolsFactory::dpTheInstance_ == 0 ) - ParseToolsFactory::dpTheInstance_ = new ParseToolsFactory; - return *ParseToolsFactory::dpTheInstance_; -} - -} // namespace autodoc - - -ParseToolsFactory::ParseToolsFactory() -{ -} - -ParseToolsFactory::~ParseToolsFactory() -{ -} - -DYN autodoc::FileCollector_Ifc * -ParseToolsFactory::Create_FileCollector( uintt i_nEstimatedNrOfFiles ) const -{ - return new FileCollector(i_nEstimatedNrOfFiles); -} - - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/autodoc/source/parser/kernel/parsefct.hxx b/autodoc/source/parser/kernel/parsefct.hxx deleted file mode 100644 index 47ca84009748..000000000000 --- a/autodoc/source/parser/kernel/parsefct.hxx +++ /dev/null @@ -1,49 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#ifndef ADC_PARSER_PARSEFCT_HXX -#define ADC_PARSER_PARSEFCT_HXX - - -#include <autodoc/parsing.hxx> - - -/** Interface for parsing code of a programming language and - delivering the information into an Autodoc Repository. -**/ -class ParseToolsFactory : public autodoc::ParseToolsFactory_Ifc -{ - public: - ParseToolsFactory(); - virtual ~ParseToolsFactory(); - - virtual DYN autodoc::FileCollector_Ifc * - Create_FileCollector( - uintt i_nEstimatedNrOfFiles ) const; - private: - static DYN ParseToolsFactory * - dpTheInstance_; - - friend class autodoc::ParseToolsFactory_Ifc; -}; - - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/autodoc/source/parser/kernel/x_docu.cxx b/autodoc/source/parser/kernel/x_docu.cxx deleted file mode 100644 index f989e95e8dd4..000000000000 --- a/autodoc/source/parser/kernel/x_docu.cxx +++ /dev/null @@ -1,55 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include <precomp.h> -#include <x_docu.hxx> - -// NOT FULLY DECLARED SERVICES - - - -X_Docu::X_Docu( const char * i_tag, - const char * i_explanation ) - : sTagName(i_tag), - sExplanation(i_explanation) -{ -} - -X_Docu::~X_Docu() -{ -} - -X_Docu::E_Event -X_Docu::GetEvent() const -{ - return x_Any; -} - -void -X_Docu::GetInfo( std::ostream & o_rOutputMedium ) const -{ - o_rOutputMedium - << "Error in tag '" - << sTagName - << "': " - << sExplanation - << Endl(); -} - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/autodoc/source/parser/kernel/x_parse.cxx b/autodoc/source/parser/kernel/x_parse.cxx deleted file mode 100644 index 1800771b3dba..000000000000 --- a/autodoc/source/parser/kernel/x_parse.cxx +++ /dev/null @@ -1,31 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include <precomp.h> -#include <autodoc/x_parsing.hxx> - -std::ostream & -operator<<( std::ostream & o_rOut, - const autodoc::X_Parser_Ifc & i_rException ) -{ - i_rException.GetInfo(o_rOut); - return o_rOut; -} - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |