Update ooo320-m1
[ooovba.git] / autodoc / source / ary / kernel / ary_disp.cxx
blobe97109ed3d4dd4dfe2ca7268f0907e1a8c435878
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: ary_disp.cxx,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 #include <precomp.h>
32 #include <ary/ary_disp.hxx>
35 // NOT FULLY DECLARED SERVICES
36 #include <ary/cpp/c_ce.hxx>
37 #include <ary/cpp/c_gate.hxx>
38 #include <ary/cpp/cp_ce.hxx>
42 namespace ary
45 void
46 Display::DisplaySlot_Rid( ary::Rid i_nId )
48 const cpp::Gate *
49 pGate = Get_ReFinder();
50 if (pGate != 0)
52 const ary::cpp::CodeEntity *
53 pRE = pGate->Ces().Search_Ce( cpp::Ce_id(i_nId) );
54 if (pRE != 0)
56 pRE->Accept( *this );
57 return;
61 do_DisplaySlot_Rid( i_nId );
65 void
66 Display::DisplaySlot_LocalCe( ary::cpp::Ce_id i_nId,
67 const String & i_sName )
69 const cpp::Gate *
70 pGate = Get_ReFinder();
71 if (pGate != 0)
73 const ary::cpp::CodeEntity *
74 pRE = pGate->Ces().Search_Ce(i_nId);
75 if (pRE != 0)
77 pRE->Accept( *this );
78 return;
82 do_DisplaySlot_LocalCe( i_nId, i_sName );
87 // Dummy implementations for class Display
89 void
90 Display::do_StartSlot()
94 void
95 Display::do_FinishSlot()
99 void
100 Display::do_DisplaySlot_Rid( ary::Rid )
104 void
105 Display::do_DisplaySlot_LocalCe( ary::cpp::Ce_id ,
106 const String & )
111 } // namespace ary