diff -r 000000000000 -r 2f259fa3e83a classicui_pub/slider_api/tsrc/src/testsdksliderview.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/classicui_pub/slider_api/tsrc/src/testsdksliderview.cpp Tue Feb 02 01:00:49 2010 +0200 @@ -0,0 +1,156 @@ +/* +* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: slider_api + * +*/ + +#include +#include +#include +#include +#include +#include +#include +#include + +#include "testsdksliderview.h" +#include "testsdkslidercontainer.h" + + +// ----------------------------------------------------------------------------- +// CSliderView::CSliderView +// ----------------------------------------------------------------------------- +// +CSliderView::CSliderView() + { + iSliderContainer = NULL; + } + + +// ----------------------------------------------------------------------------- +// CSliderView::~CSliderView +// ----------------------------------------------------------------------------- +// +CSliderView::~CSliderView() + { + delete iSliderContainer; + iSliderContainer = NULL; + } +// ----------------------------------------------------------------------------- +// CSliderView::NewL +// ----------------------------------------------------------------------------- +// +CSliderView* CSliderView::NewL() + { + CSliderView* self = CSliderView::NewLC(); + CleanupStack::Pop(self); + return self; + } + +// ----------------------------------------------------------------------------- +// CSliderView::NewLC +// ----------------------------------------------------------------------------- +// +CSliderView* CSliderView::NewLC() + { + CSliderView* self = new ( ELeave ) CSliderView(); + CleanupStack::PushL(self); + self->ConstructL(); + return self; + } + +// ----------------------------------------------------------------------------- +// CSliderView::ConstructL +// ----------------------------------------------------------------------------- +// +void CSliderView::ConstructL() + { + + } +// ----------------------------------------------------------------------------- +// CSliderView::Id +// ----------------------------------------------------------------------------- +// +TUid CSliderView::Id() const + { + return TUid::Uid(1); + } + +// ----------------------------------------------------------------------------- +// CSliderView::HandleCommandL +// ----------------------------------------------------------------------------- +// +void CSliderView::HandleCommandL(TInt aCommand) + { + switch ( aCommand ) + { + default: + break; + } + + } +// ----------------------------------------------------------------------------- +// CSliderView::DoActivateL +// ----------------------------------------------------------------------------- +// +void CSliderView::DoActivateL(const TVwsViewId& /*aPrevViewId*/, + TUid /*aCustomMessageId*/, const TDesC8& /*aCustomMessage*/) + { + + } +// ----------------------------------------------------------------------------- +// CSliderView::DoDeactivate +// ----------------------------------------------------------------------------- +// +void CSliderView::DoDeactivate() + { + + } +// ----------------------------------------------------------------------------- +// CSliderView::HandleStatusPaneSizeChange +// ----------------------------------------------------------------------------- +// +void CSliderView::HandleStatusPaneSizeChange() + { + + + } +// ----------------------------------------------------------------------------- +// CSliderView::SetupStatusPaneL +// ----------------------------------------------------------------------------- +// +void CSliderView::SetupStatusPaneL() + { + + + + } +// ----------------------------------------------------------------------------- +// CSliderView::CleanupStatusPane +// ----------------------------------------------------------------------------- +// + +void CSliderView::CleanupStatusPane() + { + } + +// ----------------------------------------------------------------------------- +// CSliderView::CreateContainerL +// ----------------------------------------------------------------------------- +// +CSliderContainer* CSliderView::CreateContainerL() + { + return NULL; + } +