|
S60 3rd Edition SDK for Symbian OS Example Applications Guide |
00001 /* 00002 * ============================================================================ 00003 * Name : IsvTelCallAppView.h 00004 * Part of : IsvTelCallApp 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 ISVTELCALLAPPVIEW_H 00017 #define ISVTELCALLAPPVIEW_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 CIsvTelCallAppContainer; 00027 00028 // CLASS DECLARATION 00029 /** 00030 * CIsvTelCallAppView view class. 00031 * 00032 */ 00033 class CIsvTelCallAppView : public CAknView 00034 { 00035 public: // Constructors and destructor 00036 00037 /** 00038 * Two-phased constructor. 00039 * @param aNotify Reference to an object implementing the 00040 * MIsvTelCallAppTelephonyNotify interface 00041 */ 00042 static CIsvTelCallAppView* NewL(); 00043 00044 /** 00045 * Default constructor. 00046 */ 00047 CIsvTelCallAppView(); 00048 00049 /** 00050 * EPOC constructor. 00051 */ 00052 void ConstructL(); 00053 00054 /** 00055 * Destructor. 00056 */ 00057 virtual ~CIsvTelCallAppView(); 00058 00059 public: // New functions 00060 00061 CAknTitlePane* GetTitlePaneL(); 00062 00063 public: // From CAknView. 00064 00065 /** 00066 * From CAknView, Id. 00067 * Returns the ID of view. 00068 * @return The ID of view. 00069 */ 00070 TUid Id() const; 00071 00072 /** 00073 * From CAknView, HandleCommandL. 00074 * handles the commands. if the command is command which is require to 00075 * display outline-screen, the command is reported to container class. 00076 * @param aCommand Command to be handled. 00077 */ 00078 void HandleCommandL( TInt aCommand ); 00079 00080 private: // From CAknView 00081 00082 /** 00083 * From CAknView, DoActivateL. 00084 * Creates the Container class object. 00085 * @param aPrevViewId aPrevViewId is not used. 00086 * @param aCustomMessageId aCustomMessageId is not used. 00087 * @param aCustomMessage aCustomMessage is not used. 00088 */ 00089 void DoActivateL( 00090 const TVwsViewId& aPrevViewId, 00091 TUid aCustomMessageId, 00092 const TDesC8& aCustomMessage ); 00093 00094 /** 00095 * From CAknView, DoDeactivate. 00096 * Deletes the Container class object. 00097 */ 00098 void DoDeactivate(); 00099 00100 private: // Data 00101 00102 CIsvTelCallAppContainer* iContainer; 00103 }; 00104 00105 #endif //ISVTELCALLAPPVIEW_H 00106 00107 // End of File
|
© Nokia 2006 |