|
Nokia N97 SDK Example Applications Guide |
00001 /* 00002 * ============================================================================== 00003 * Name : aknexquerygloballistobserver.h 00004 * Part of : Query example 00005 * Interface : 00006 * Description : 00007 * Version : 00008 * 00009 * Copyright (c) 2004 - 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 __AKNEXQUERYGLOBALLISTOBSERVER_H__ 00017 #define __AKNEXQUERYGLOBALLISTOBSERVER_H__ 00018 00019 // INCLUDES 00020 #include <e32std.h> 00021 #include <e32base.h> 00022 #include <AknGlobalListQuery.h> 00023 //#include "AknExQueryContainer.h" 00024 00025 // FORWARD DECLARATIONS 00026 class CAknExQueryContainer; 00027 00028 // CLASS DECLARATION 00029 00030 /** 00031 * CAknExQueryGlobalListObserver class 00032 */ 00033 class CAknExQueryGlobalListObserver: 00034 public CActive 00035 { 00036 public: // Constructors and destructor 00037 /** 00038 * NewL 00039 * Two-phased constructor. 00040 */ 00041 static CAknExQueryGlobalListObserver* NewL( 00042 CAknExQueryContainer* aContainer ); 00043 00044 /** 00045 * ~CAknExQueryGlobalListObserver 00046 * Destructor. 00047 */ 00048 virtual ~CAknExQueryGlobalListObserver(); 00049 00050 public: // New function 00051 /** 00052 * Start 00053 * Start the activator. 00054 */ 00055 void Start(); 00056 00057 /* 00058 * SetSelectItemFlag 00059 * Set iSelectItemFlag. 00060 */ 00061 void SetSelectItemFlag(); 00062 00063 /* 00064 * UnsetSelectItemFlag 00065 * Unset iSelectItemFlag. 00066 */ 00067 void UnsetSelectItemFlag(); 00068 00069 private: // New function 00070 /** 00071 * CAknExQueryGlobalListObserver 00072 * C++ default constructor. 00073 */ 00074 CAknExQueryGlobalListObserver( CAknExQueryContainer* aContainer ); 00075 00076 /** 00077 * ConstructL 00078 * Symbian default constructor. 00079 */ 00080 void ConstructL(); 00081 00082 private: // From CActive 00083 /** 00084 * RunL 00085 * From CActive, handle an event. 00086 */ 00087 void RunL(); 00088 00089 /** 00090 * DoCancel 00091 * From CActive, implement the Cancel protocol. 00092 */ 00093 void DoCancel(); 00094 00095 private: // Data 00096 /** 00097 * iContainer, container class. 00098 * Does not own. 00099 */ 00100 CAknExQueryContainer* iContainer; 00101 00102 /** 00103 * iSelectItemFlag 00104 */ 00105 TBool iSelectItemFlag; 00106 }; 00107 00108 #endif // __AKNEXQUERYGLOBALLISTOBSERVER_H__ 00109 00110 // End of File
|
© Nokia 2009 |