diff -r 558113899881 -r b3425bf29f82 classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgcontainer.h --- a/classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgcontainer.h Mon May 03 12:45:33 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,97 +0,0 @@ -/* -* Copyright (c) 2006-2009 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: container -* -*/ - - - - - - - - -#ifndef BCTEST_CMDLG_CONTAINER_H -#define BCTEST_CMDLG_CONTAINER_H - -#include - -/** -* container class -*/ -class CBCTestCmDlgContainer: public CCoeControl - { -public: // constructor and destructor - - /** - * C++ default constructor - */ - CBCTestCmDlgContainer(); - - /** - * Destructor - */ - virtual ~CBCTestCmDlgContainer(); - - /** - * Symbian 2nd constructor - */ - void ConstructL( const TRect& aRect ); - -public: // new functions - - /** - * Set component control, and container will own the control - * @param aControl pointer to a control. - */ - void SetControl( CCoeControl* aControl ); - - /** - * Delete control - */ - void ResetControl(); - -public: // from CCoeControl - - /** - * Return count of component controls - */ - TInt CountComponentControls() const; - - /** - * Return pointer to component control specified by index - * @param aIndex, a index to specify a component control - */ - CCoeControl* ComponentControl( TInt aIndex ) const; - -private: // from CCoeControl - - /** - * From CCoeControl, Draw. - * Fills the window's rectangle. - * @param aRect Region of the control to be (re)drawn. - */ - void Draw( const TRect& aRect ) const; - -private: // data - - /** - * Pointer to component control. - * own - */ - CCoeControl* iControl; - - }; - -#endif // BCTEST_CMDLG_CONTAINER_H \ No newline at end of file