1 /************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23 24 #include "udlg_module.hxx" 25 #include "udlg_global.hrc" 26 #include "roadmapskeletonpages.hxx" 27 #include "roadmapskeleton.hxx" 28 29 //........................................................................ 30 namespace udlg 31 { 32 //........................................................................ 33 34 //==================================================================== 35 //= RoadmapSkeletonPage 36 //==================================================================== 37 //-------------------------------------------------------------------- RoadmapSkeletonPage(RoadmapSkeletonDialog & _rParentDialog,const ResId & _rRes)38 RoadmapSkeletonPage::RoadmapSkeletonPage( RoadmapSkeletonDialog& _rParentDialog, const ResId& _rRes ) 39 :RoadmapSkeletonPage_Base( &_rParentDialog, _rRes ) 40 { 41 } 42 43 //-------------------------------------------------------------------- ~RoadmapSkeletonPage()44 RoadmapSkeletonPage::~RoadmapSkeletonPage() 45 { 46 } 47 48 //==================================================================== 49 //= WelcomePage 50 //==================================================================== 51 //-------------------------------------------------------------------- WelcomePage(RoadmapSkeletonDialog & _rParentDialog)52 WelcomePage::WelcomePage( RoadmapSkeletonDialog& _rParentDialog ) 53 :RoadmapSkeletonPage( _rParentDialog, UdlgResId( TP_WELCOME ) ) 54 { 55 } 56 57 //-------------------------------------------------------------------- Create(::svt::RoadmapWizard & _rParentDialog)58 TabPage* WelcomePage::Create( ::svt::RoadmapWizard& _rParentDialog ) 59 { 60 return new WelcomePage( dynamic_cast< RoadmapSkeletonDialog& >( _rParentDialog ) ); 61 } 62 63 //==================================================================== 64 //= PreparationPage 65 //==================================================================== 66 //-------------------------------------------------------------------- PreparationPage(RoadmapSkeletonDialog & _rParentDialog)67 PreparationPage::PreparationPage( RoadmapSkeletonDialog& _rParentDialog ) 68 :RoadmapSkeletonPage( _rParentDialog, UdlgResId( TP_PREPARE ) ) 69 { 70 } 71 72 //-------------------------------------------------------------------- Create(::svt::RoadmapWizard & _rParentDialog)73 TabPage* PreparationPage::Create( ::svt::RoadmapWizard& _rParentDialog ) 74 { 75 return new PreparationPage( dynamic_cast< RoadmapSkeletonDialog& >( _rParentDialog ) ); 76 } 77 78 //==================================================================== 79 //= SetupPage 80 //==================================================================== 81 //-------------------------------------------------------------------- SetupPage(RoadmapSkeletonDialog & _rParentDialog)82 SetupPage::SetupPage( RoadmapSkeletonDialog& _rParentDialog ) 83 :RoadmapSkeletonPage( _rParentDialog, UdlgResId( TP_SETUP ) ) 84 { 85 } 86 87 //-------------------------------------------------------------------- Create(::svt::RoadmapWizard & _rParentDialog)88 TabPage* SetupPage::Create( ::svt::RoadmapWizard& _rParentDialog ) 89 { 90 return new SetupPage( dynamic_cast< RoadmapSkeletonDialog& >( _rParentDialog ) ); 91 } 92 93 //==================================================================== 94 //= FinishPage 95 //==================================================================== 96 //-------------------------------------------------------------------- FinishPage(RoadmapSkeletonDialog & _rParentDialog)97 FinishPage::FinishPage( RoadmapSkeletonDialog& _rParentDialog ) 98 :RoadmapSkeletonPage( _rParentDialog, UdlgResId( TP_FINISH ) ) 99 { 100 } 101 102 //-------------------------------------------------------------------- Create(::svt::RoadmapWizard & _rParentDialog)103 TabPage* FinishPage::Create( ::svt::RoadmapWizard& _rParentDialog ) 104 { 105 return new FinishPage( dynamic_cast< RoadmapSkeletonDialog& >( _rParentDialog ) ); 106 } 107 108 //........................................................................ 109 } // namespace udlg 110 //........................................................................ 111