--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/classicui_pub/tabs_api/tsrc/src/testsdktabgrpcontrol.cpp Tue Feb 02 01:00:49 2010 +0200
@@ -0,0 +1,116 @@
+/*
+* Copyright (c) 2008 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: test akntabgrp.h
+*
+*/
+
+
+//INCLUDE FILES
+#include "testsdktabgrpcontrol.h"
+
+
+// ============================ MEMBER FUNCTIONS ===============================
+
+// -----------------------------------------------------------------------------
+// CTestTabsControl::NewL
+// -----------------------------------------------------------------------------
+//
+CTestTabsControl* CTestTabsControl::NewL()
+ {
+ CTestTabsControl* self = new (ELeave) CTestTabsControl;
+ CleanupStack::PushL(self);
+ self->ConstructL();
+ CleanupStack::Pop(self);
+ return self;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestTabsControl::~CTestTabsControl
+// -----------------------------------------------------------------------------
+//
+CTestTabsControl::~CTestTabsControl()
+ {
+ }
+
+// -----------------------------------------------------------------------------
+// CTestTabsControl::CTestTabsControl
+// -----------------------------------------------------------------------------
+//
+CTestTabsControl::CTestTabsControl()
+ {
+ }
+
+// -----------------------------------------------------------------------------
+// CTestTabsControl::ConstructL
+// -----------------------------------------------------------------------------
+//
+void CTestTabsControl::ConstructL()
+ {
+ CreateWindowL();
+ //add controls
+ SetRect( Rect() );
+ ActivateL();
+ }
+
+// -----------------------------------------------------------------------------
+// CTestTabsControl::OfferKeyEventL
+// -----------------------------------------------------------------------------
+//
+TKeyResponse CTestTabsControl::OfferKeyEventL(const TKeyEvent& /*aKeyEvent*/,
+ TEventCode /*aType*/)
+ {
+ return EKeyWasConsumed;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestTabsControl::Draw
+// -----------------------------------------------------------------------------
+//
+void CTestTabsControl::Draw(const TRect& /*aRect*/) const
+ {
+ }
+
+// -----------------------------------------------------------------------------
+// CTestTabsControl::CountComponentControls
+// -----------------------------------------------------------------------------
+//
+TInt CTestTabsControl::CountComponentControls() const
+ {
+ return 0;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestTabsControl::ComponentControl
+// -----------------------------------------------------------------------------
+//
+CCoeControl* CTestTabsControl::ComponentControl(TInt /*aIndex*/) const
+ {
+ return NULL;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestTabsControl::SizeChanged
+// -----------------------------------------------------------------------------
+//
+void CTestTabsControl::SizeChanged()
+ {
+ }
+// -----------------------------------------------------------------------------
+// CTestTabsControl::TabChangedL
+// -----------------------------------------------------------------------------
+//
+void CTestTabsControl::TabChangedL( TInt /*aIndex*/ )
+ {
+ }