notepad/notepad1/inc/NpdViewerDialog.h
branchRCL_3
changeset 30 d68a4b5d5885
parent 0 f979ecb2b13e
child 48 bf573002ff72
--- a/notepad/notepad1/inc/NpdViewerDialog.h	Tue May 11 16:12:24 2010 +0300
+++ b/notepad/notepad1/inc/NpdViewerDialog.h	Tue May 25 12:41:10 2010 +0300
@@ -24,6 +24,7 @@
 #include "NpdDialogBase.h"
 #include <centralrepository.h>
 #include <cenrepnotifyhandler.h>
+#include <itemfinderobserver.h>
 
 // FORWARD DECLARATIONS
 class CNotepadRichTextEditor;
@@ -41,7 +42,9 @@
 * @see CNotepadDialogBase
 */
 class CNotepadViewerDialog : public CNotepadDialogBase,
-                             public MCenRepNotifyHandlerCallback
+                             public MCenRepNotifyHandlerCallback,
+                             public MAknItemFinderObserver
+
     {
     public: // Constructor and destructor
 
@@ -214,6 +217,12 @@
         void SizeChanged();
     public:
         void HandleDialogPointerEventL( const TPointerEvent& aPointerEvent );
+        
+        void HandleFindItemEventL(
+                const CItemFinder::CFindItemExt& aItem,
+                MAknItemFinderObserver::TEventFlag aEvent,
+                TUint aFlags );
+
 
     private: // New function
 
@@ -307,7 +316,8 @@
 
         enum TNotepadViewerFlags
             {
-            ENotepadMenuByOkKey = 0x02
+            ENotepadMenuByOkKey = 0x02,
+            EMenuByItemActication = 0x04
             };
         CNotepadRichTextEditor* iEditor; // not own (dialog own)
         HBufC* iFilename;  // own