Bump for 3.6-28
[LibreOffice.git] / autodoc / source / display / kernel / displfct.cxx
blob00e4390c6f3fe8ba5637e31c1758b0ce489f2510
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
29 #include <precomp.h>
30 #include "displfct.hxx"
33 // NOT FULLY DECLARED SERVICES
34 #include <idl/hi_display.hxx>
35 #include <cfrstd.hxx>
38 DYN DisplayToolsFactory * DisplayToolsFactory::dpTheInstance_ = 0;
41 namespace autodoc
44 DisplayToolsFactory_Ifc &
45 DisplayToolsFactory_Ifc::GetIt_()
47 if ( DisplayToolsFactory::dpTheInstance_ == 0 )
48 DisplayToolsFactory::dpTheInstance_ = new DisplayToolsFactory;
49 return *DisplayToolsFactory::dpTheInstance_;
52 } // namespace autodoc
55 DisplayToolsFactory::DisplayToolsFactory()
59 DisplayToolsFactory::~DisplayToolsFactory()
63 // DYN autodoc::TextDisplay_FunctionList_Ifc *
64 // DisplayToolsFactory::Create_TextDisplay_FunctionList() const
65 // {
66 // return new CppTextDisplay_FunctionList;
67 // }
70 DYN autodoc::HtmlDisplay_Idl_Ifc *
71 DisplayToolsFactory::Create_HtmlDisplay_Idl() const
73 return new HtmlDisplay_Idl;
76 const display::CorporateFrame &
77 DisplayToolsFactory::Create_StdFrame() const
79 static StdFrame aFrame;
80 return aFrame;
84 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */