diff -r 5456b4e8b3a8 -r 3321d3e205b6 idlehomescreen/examples/hscontentcontrolexample/inc/HsContentControlDocument.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/idlehomescreen/examples/hscontentcontrolexample/inc/HsContentControlDocument.h Tue Sep 14 20:58:58 2010 +0300 @@ -0,0 +1,46 @@ +/* +* Copyright (c) 2010 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: Content Control example +* +*/ + + +#ifndef HSCONTENTCONTROLDOCUMENT_H +#define HSCONTENTCONTROLDOCUMENT_H + +#include + +class CEikAppUi; + +/** +* @class CHsContentControlDocument HsContentControlDocument.h +* @brief A CAknDocument-derived class is required by the S60 application +* framework. It is responsible for creating the AppUi object. +*/ +class CHsContentControlDocument : public CAknDocument + { +public: + // constructor + static CHsContentControlDocument* NewL( CEikApplication& aApp ); + +private: + // constructors + CHsContentControlDocument( CEikApplication& aApp ); + void ConstructL(); + +public: + // from base class CEikDocument + CEikAppUi* CreateAppUiL(); + }; +#endif // HSCONTENTCONTROLDOCUMENT_H