diff -r 000000000000 -r f72a12da539e idlehomescreen/xmluirendering/uiengine/inc/xnwallpapercontainer.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/idlehomescreen/xmluirendering/uiengine/inc/xnwallpapercontainer.h Thu Dec 17 08:40:49 2009 +0200 @@ -0,0 +1,85 @@ +/* +* 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: Wallpaper view's container. +* +*/ + + + +#ifndef XNWALLPAPERCONTAINER_H +#define XNWALLPAPERCONTAINER_H + +// INCLUDES +#include +#include + +// CLASS DECLARATION + +/** +* Wallpaper container. +* Contains wallpaper setting items. +* +* @since S60 v5.0 +*/ +NONSHARABLE_CLASS( CXnWallpaperContainer ) : public CCoeControl + { +public: + /** + * Two-phased constructor. + * @return new instance of CXnWallpaperContainer. + */ + static CXnWallpaperContainer* NewL(); + + /** + * Destructor. + */ + ~CXnWallpaperContainer(); + + /** + * From CCoeControl + */ + void Draw( const TRect& aRect ) const; + +private: + /** + * From CCoeControl + */ + virtual void SizeChanged(); + + /** + * From CCoeControl + */ + virtual void HandleResourceChange(TInt aType); + + /** + * By default Symbian 2nd phase constructor is private. + */ + void ConstructL(); + + /** + * C++ default constructor. + */ + CXnWallpaperContainer(); + +private: + /** + * Background context. + * Own. + */ + CAknsBasicBackgroundControlContext* iBgContext; + }; + +#endif // XNWALLPAPERCONTAINER_H + +// End of File