S60 3rd Edition SDK for Symbian OS
Example Applications Guide

IsvTelInfoAppView.h

00001 /*
00002 * ==============================================================================
00003 *  Name        : IsvTelInfoAppView.h
00004 *  Part of     : IsvTelInfoApp
00005 *  Interface   : 
00006 *  Description : 
00007 *  Version     : 
00008 *
00009 *  Copyright (c) 2005-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 #ifndef ISVTELINFOAPPVIEW_H
00017 #define ISVTELINFOAPPVIEW_H
00018 
00019 // INCLUDES
00020 #include <aknview.h>
00021 #include <eikdialg.h>
00022 #include <aknform.h>
00023 #include <akntitle.h>
00024 
00025 // FORWARD DECLARATIONS
00026 class CIsvTelInfoAppContainer;
00027 
00028 // CLASS DECLARATION
00029 /**
00030 * CIsvTelInfoAppView view class.
00031 *
00032 */
00033 class CIsvTelInfoAppView : public CAknView
00034     {
00035     public: // Constructors and destructor
00036 
00037         /**
00038         * Default constructor.
00039         */
00040         CIsvTelInfoAppView();
00041 
00042         /**
00043         * EPOC constructor.
00044         */
00045         void ConstructL();
00046 
00047         /**
00048         * Destructor.
00049         */
00050         virtual ~CIsvTelInfoAppView();
00051 
00052     public: // New functions
00053 
00054         CAknTitlePane* GetTitlePaneL();
00055 
00056 
00057         /**
00058         * StoreL called from AppUi class
00059         * @param aStore Reference to a stream store
00060         * @return Returns the Stream Id
00061         */
00062         TStreamId StoreL( CStreamStore& aStore ) const;
00063 
00064         /**
00065         * RestoreL called from AppUi class
00066         * @param aStore Reference to a stream store
00067         * @param aStreamId Reference to a stream id
00068         */
00069         void RestoreL( const CStreamStore& aStore, const TStreamId aStreamId );
00070 
00071     public: // From CAknView.
00072 
00073         /**
00074         * From CAknView, Id.
00075         * Returns the ID of view.
00076         * @return The ID of view.
00077         */
00078         TUid Id() const;
00079 
00080         /**
00081         * From CAknView, HandleCommandL.
00082         * handles the commands. if the command is command which is require to
00083         * display outline-screen, the command is reported to container class.
00084         * @param aCommand Command to be handled.
00085         */
00086         void HandleCommandL( TInt aCommand );
00087 
00088     private: // From CAknView
00089 
00090         /**
00091         * From CAknView, DoActivateL.
00092         * Creates the Container class object.
00093         * @param aPrevViewId aPrevViewId is not used.
00094         * @param aCustomMessageId aCustomMessageId is not used.
00095         * @param aCustomMessage aCustomMessage is not used.
00096         */
00097         void DoActivateL(
00098             const TVwsViewId& aPrevViewId,
00099             TUid aCustomMessageId,
00100             const TDesC8& aCustomMessage );
00101 
00102         /**
00103         * From CAknView, DoDeactivate.
00104         * Deletes the Container class object.
00105         */
00106         void DoDeactivate();
00107 
00108     private: // Data
00109 
00110         CIsvTelInfoAppContainer* iContainer;
00111     };
00112 
00113 #endif
00114 
00115 // End of File

© Nokia 2006

Back to top