diff -r 09b1ac925e3f -r 03674e5abf46 securitydialogs/Autolock/inc/AutolockApp.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/securitydialogs/Autolock/inc/AutolockApp.h Wed Sep 01 12:19:59 2010 +0100 @@ -0,0 +1,58 @@ +/* +* Copyright (c) 2002 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: +* Declares main application class. +* +*/ + + +#ifndef AUTOLOCKAPP_H +#define AUTOLOCKAPP_H + +// INCLUDES +#include + +// CONSTANTS +// UID of the application +const TUid KUidAutolock = { 0x100059B5 }; + +// CLASS DECLARATION + +/** +* CAutolockApp application class. +* Provides factory to create concrete document object. +* +*/ +class CAutolockApp : public CAknApplication + { + + private: + + /** + * From CApaApplication, creates CAutolockDocument document object. + * @return A pointer to the created document object. + */ + CApaDocument* CreateDocumentL(); + + /** + * From CApaApplication, returns application's UID (KUidAutolock). + * @return The value of KUidAutolock. + */ + TUid AppDllUid() const; + }; + +#endif + +// End of File +