Nokia N97 SDK
Example Applications Guide

CCEAppUi.h

00001 /*
00002 * ==============================================================================
00003 *  Name        : CCEAppUi.h
00004 *  Part of     : Content Listing Framework Sample Application
00005 *  Interface   :
00006 *  Description :
00007 *  Version     :
00008 *
00009 *  Copyright (c) 2006 Nokia Corporation.
00010 *  This material, including documentation and any related
00011 *  computer programs, is protected by copyright controlled by
00012 *  Nokia Corporation.
00013 * ==============================================================================
00014 */
00015 
00016 
00017 #ifndef __CCEAPPUI_H__
00018 #define __CCEAPPUI_H__
00019 
00020 // EXTERNAL INCLUDES
00021 #include <aknviewappui.h>
00022 
00023 // FORWARD DECLARATIONS
00024 class MCLFContentListingEngine;
00025 class MCLFItemListModel;
00026 
00027 class CCEOperationObserver;
00028 
00029 // CLASS DECLARATION
00030 
00031 /**
00032 *  Application UI for CLF Example Application.
00033 */
00034 class CCEAppUi
00035     : public CAknViewAppUi
00036     {
00037     public:  // Constructors and destructor
00038 
00039         /**
00040         * C++ default constructor.
00041         */
00042         CCEAppUi();
00043 
00044         /**
00045         * Destructor.
00046         */
00047         virtual ~CCEAppUi();
00048 
00049         /**
00050         * Symbian 2nd phase constructor.
00051         */
00052         void ConstructL();
00053 
00054     protected:  // Functions from base classes
00055 
00056         /**
00057         * From CEikAppUi. Handle user's commands.
00058         */
00059         void HandleCommandL( TInt aCommand );
00060 
00061     private:    // Data
00062 
00063         // Application view (not owned)
00064         CAknView* iAppView;
00065 
00066         // Content listing engine (owned)
00067         MCLFContentListingEngine* iEngine;
00068 
00069         // Content listing model (owned)
00070         MCLFItemListModel* iModel;
00071 
00072         // Content listeng operation observer (owned)
00073         CCEOperationObserver* iObserver;
00074     };
00075 
00076 #endif // __CCEAPPUI_H__
00077 
00078 // End of File

© Nokia 2009

Back to top