classicui_pub/editors_api/inc/EIKMFNE.H
branchRCL_3
changeset 18 fcdfafb36fe7
parent 0 2f259fa3e83a
--- a/classicui_pub/editors_api/inc/EIKMFNE.H	Thu Jul 15 18:56:19 2010 +0300
+++ b/classicui_pub/editors_api/inc/EIKMFNE.H	Thu Aug 19 10:11:06 2010 +0300
@@ -62,6 +62,11 @@
 // Extension object within CEikMfne
 class CEikMfneExtension;
 
+// Extension object within CEikTimeAndDateEditor
+class CEikTimeAndDateEditorExtension;
+
+// Extension object within CEikTimeEditorExtension
+class CEikTimeEditorExtension;
 //
 /**
  * Abstract base class for fields within a multi-field numeric editor.
@@ -816,7 +821,9 @@
         
         ELaunchPenInputAutomatic,
 
-        EPartialScreenInput
+        EPartialScreenInput,
+        /* Support the feature change AM and PM with pressing on touch input*/
+        EChangeAmPm
         };
     /** Parameter for finger support feature: 
       * 0 means disable the suppor; 
@@ -1247,6 +1254,9 @@
 	const CFont* iFont;
     TInt iAlignment;
     TBitFlags iFlags;
+private:
+friend class CEikTimeEditor;
+friend class CEikTimeAndDateEditor; 
 	};
 
 inline TInt CEikMfne::CurrentField() const
@@ -1749,11 +1759,16 @@
     * From CAknControl
     */
     IMPORT_C void* ExtensionInterface( TUid aInterface );
+    void ChangeAmPm();
+   
 private:
 	CTimeEditor* iTimeEditor;
 	TTime iMinimumTime;
 	TTime iMaximumTime;
-	TInt iSpare;
+	CEikTimeEditorExtension* iTimeExtension;
+	
+private:
+    friend class CEikTimeEditorExtension; 
 	};
 
 
@@ -2161,12 +2176,16 @@
     * From CAknControl
     */
     IMPORT_C void* ExtensionInterface( TUid aInterface );
+    void ChangeAmPm();
+    
 private:
 	CTimeEditor* iTimeEditor;
 	CDateEditor* iDateEditor;
 	TTime iMinimumTimeAndDate;
 	TTime iMaximumTimeAndDate;
-	TInt iSpare;
+    CEikTimeAndDateEditorExtension* iTimeDateExtension;
+private:    
+    friend class CEikTimeAndDateEditorExtension; 
 	};