00001 /* 00002 * ============================================================================ 00003 * Name : AknNotify.h 00004 * Part of : Avkon 00005 * 00006 * Description: 00007 * Version: 00008 * 00009 * Copyright © 2002 Nokia Corporation. 00010 * This material, including documentation and any related 00011 * computer programs, is protected by copyright controlled by 00012 * Nokia Corporation. All rights are reserved. Copying, 00013 * including reproducing, storing, adapting or translating, any 00014 * or all of this material requires the prior written consent of 00015 * Nokia Corporation. This material also contains confidential 00016 * information which may not be disclosed to others without the 00017 * prior written consent of Nokia Corporation. 00018 * ============================================================================ 00019 */ 00020 #ifndef __AKNNOTIFY_H__ 00021 #define __AKNNOTIFY_H__ 00022 00023 // INCLUDES 00024 00025 #include <e32base.h> 00026 00027 00028 // FORWARD DECLARATIONS 00029 #start_since SINCE_3_1_SDK 00030 class CAknSDData; 00031 #end_since SINCE_3_1_SDK 00032 00033 // CLASS DECLARATION 00034 #start_since SINCE_3_1_SDK 00035 00038 class RNotifier2: public RNotifier 00039 { 00040 public: 00041 TInt Connect(); 00042 }; 00043 #end_since SINCE_3_1_SDK 00044 00050 NONSHARABLE_CLASS(CAknNotifyBase) : public CBase 00051 { 00052 public: 00053 00057 IMPORT_C ~CAknNotifyBase(); 00058 00059 #start_since SINCE_3_1_SDK 00060 00070 IMPORT_C void SetSecondaryDisplayData(CAknSDData* aData); 00071 #end_since SINCE_3_1_SDK 00072 protected: 00073 00078 CAknNotifyBase(TUid aUid); 00079 00084 void ConstructL(); 00085 00091 void StartOrUpdateL(const TDesC8& aBuffer,TDes8& aResponse); 00092 00099 void StartOrUpdateAndGetResponseL(TRequestStatus& aStatus, 00100 const TDesC8& aBuffer, 00101 TDes8& aResponse); 00102 00103 #start_since SINCE_3_1_SDK 00104 00109 CAknSDData* SecondaryDisplayData(); 00110 #end_since SINCE_3_1_SDK 00111 00112 00113 private: 00114 IMPORT_C void CAknNotifyBase_Reserved(); 00115 00116 private: 00117 TUid iUid; 00118 TBool iStarted; 00119 RNotifier2 iNotify; 00120 CAknSDData* iSecondaryDisplayData; 00121 }; 00122 00123 00124 #endif