update dev300-m57
[ooovba.git] / svtools / workben / unodialog / roadmapskeletonpages.cxx
blob27f8227ec2d21f79aa3a14678aaee62ed390bd9e
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: roadmapskeletonpages.cxx,v $
10 * $Revision: 1.4 $
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 "udlg_module.hxx"
32 #include "udlg_global.hrc"
33 #include "roadmapskeletonpages.hxx"
34 #include "roadmapskeleton.hxx"
36 //........................................................................
37 namespace udlg
39 //........................................................................
41 //====================================================================
42 //= RoadmapSkeletonPage
43 //====================================================================
44 //--------------------------------------------------------------------
45 RoadmapSkeletonPage::RoadmapSkeletonPage( RoadmapSkeletonDialog& _rParentDialog, const ResId& _rRes )
46 :RoadmapSkeletonPage_Base( &_rParentDialog, _rRes )
50 //--------------------------------------------------------------------
51 RoadmapSkeletonPage::~RoadmapSkeletonPage()
55 //====================================================================
56 //= WelcomePage
57 //====================================================================
58 //--------------------------------------------------------------------
59 WelcomePage::WelcomePage( RoadmapSkeletonDialog& _rParentDialog )
60 :RoadmapSkeletonPage( _rParentDialog, UdlgResId( TP_WELCOME ) )
64 //--------------------------------------------------------------------
65 TabPage* WelcomePage::Create( ::svt::RoadmapWizard& _rParentDialog )
67 return new WelcomePage( dynamic_cast< RoadmapSkeletonDialog& >( _rParentDialog ) );
70 //====================================================================
71 //= PreparationPage
72 //====================================================================
73 //--------------------------------------------------------------------
74 PreparationPage::PreparationPage( RoadmapSkeletonDialog& _rParentDialog )
75 :RoadmapSkeletonPage( _rParentDialog, UdlgResId( TP_PREPARE ) )
79 //--------------------------------------------------------------------
80 TabPage* PreparationPage::Create( ::svt::RoadmapWizard& _rParentDialog )
82 return new PreparationPage( dynamic_cast< RoadmapSkeletonDialog& >( _rParentDialog ) );
85 //====================================================================
86 //= SetupPage
87 //====================================================================
88 //--------------------------------------------------------------------
89 SetupPage::SetupPage( RoadmapSkeletonDialog& _rParentDialog )
90 :RoadmapSkeletonPage( _rParentDialog, UdlgResId( TP_SETUP ) )
94 //--------------------------------------------------------------------
95 TabPage* SetupPage::Create( ::svt::RoadmapWizard& _rParentDialog )
97 return new SetupPage( dynamic_cast< RoadmapSkeletonDialog& >( _rParentDialog ) );
100 //====================================================================
101 //= FinishPage
102 //====================================================================
103 //--------------------------------------------------------------------
104 FinishPage::FinishPage( RoadmapSkeletonDialog& _rParentDialog )
105 :RoadmapSkeletonPage( _rParentDialog, UdlgResId( TP_FINISH ) )
109 //--------------------------------------------------------------------
110 TabPage* FinishPage::Create( ::svt::RoadmapWizard& _rParentDialog )
112 return new FinishPage( dynamic_cast< RoadmapSkeletonDialog& >( _rParentDialog ) );
115 //........................................................................
116 } // namespace udlg
117 //........................................................................