classicui_pub/editors_api/inc/EIKMFNE.H
branchRCL_3
changeset 18 fcdfafb36fe7
parent 0 2f259fa3e83a
equal deleted inserted replaced
17:a1caeb42b3a3 18:fcdfafb36fe7
    60 class MAknsControlContext;
    60 class MAknsControlContext;
    61 
    61 
    62 // Extension object within CEikMfne
    62 // Extension object within CEikMfne
    63 class CEikMfneExtension;
    63 class CEikMfneExtension;
    64 
    64 
       
    65 // Extension object within CEikTimeAndDateEditor
       
    66 class CEikTimeAndDateEditorExtension;
       
    67 
       
    68 // Extension object within CEikTimeEditorExtension
       
    69 class CEikTimeEditorExtension;
    65 //
    70 //
    66 /**
    71 /**
    67  * Abstract base class for fields within a multi-field numeric editor.
    72  * Abstract base class for fields within a multi-field numeric editor.
    68  */
    73  */
    69 class CEikMfneField : public CBase
    74 class CEikMfneField : public CBase
   814         /** Support finger input. Paramter is TFingerSupportParams.*/ 
   819         /** Support finger input. Paramter is TFingerSupportParams.*/ 
   815         EFingerSupport,
   820         EFingerSupport,
   816         
   821         
   817         ELaunchPenInputAutomatic,
   822         ELaunchPenInputAutomatic,
   818 
   823 
   819         EPartialScreenInput
   824         EPartialScreenInput,
       
   825         /* Support the feature change AM and PM with pressing on touch input*/
       
   826         EChangeAmPm
   820         };
   827         };
   821     /** Parameter for finger support feature: 
   828     /** Parameter for finger support feature: 
   822       * 0 means disable the suppor; 
   829       * 0 means disable the suppor; 
   823       * 1 means enable the support;
   830       * 1 means enable the support;
   824       * 2 means enable the support with highlight of whole text.
   831       * 2 means enable the support with highlight of whole text.
  1245 	CEikMfneField** iFields;
  1252 	CEikMfneField** iFields;
  1246 	CEikMfneExtension* iExtension;
  1253 	CEikMfneExtension* iExtension;
  1247 	const CFont* iFont;
  1254 	const CFont* iFont;
  1248     TInt iAlignment;
  1255     TInt iAlignment;
  1249     TBitFlags iFlags;
  1256     TBitFlags iFlags;
       
  1257 private:
       
  1258 friend class CEikTimeEditor;
       
  1259 friend class CEikTimeAndDateEditor; 
  1250 	};
  1260 	};
  1251 
  1261 
  1252 inline TInt CEikMfne::CurrentField() const
  1262 inline TInt CEikMfne::CurrentField() const
  1253     {
  1263     {
  1254     return(iCurrentField);
  1264     return(iCurrentField);
  1747 private:
  1757 private:
  1748     /**
  1758     /**
  1749     * From CAknControl
  1759     * From CAknControl
  1750     */
  1760     */
  1751     IMPORT_C void* ExtensionInterface( TUid aInterface );
  1761     IMPORT_C void* ExtensionInterface( TUid aInterface );
       
  1762     void ChangeAmPm();
       
  1763    
  1752 private:
  1764 private:
  1753 	CTimeEditor* iTimeEditor;
  1765 	CTimeEditor* iTimeEditor;
  1754 	TTime iMinimumTime;
  1766 	TTime iMinimumTime;
  1755 	TTime iMaximumTime;
  1767 	TTime iMaximumTime;
  1756 	TInt iSpare;
  1768 	CEikTimeEditorExtension* iTimeExtension;
       
  1769 	
       
  1770 private:
       
  1771     friend class CEikTimeEditorExtension; 
  1757 	};
  1772 	};
  1758 
  1773 
  1759 
  1774 
  1760 //
  1775 //
  1761 
  1776 
  2159 private:
  2174 private:
  2160     /**
  2175     /**
  2161     * From CAknControl
  2176     * From CAknControl
  2162     */
  2177     */
  2163     IMPORT_C void* ExtensionInterface( TUid aInterface );
  2178     IMPORT_C void* ExtensionInterface( TUid aInterface );
       
  2179     void ChangeAmPm();
       
  2180     
  2164 private:
  2181 private:
  2165 	CTimeEditor* iTimeEditor;
  2182 	CTimeEditor* iTimeEditor;
  2166 	CDateEditor* iDateEditor;
  2183 	CDateEditor* iDateEditor;
  2167 	TTime iMinimumTimeAndDate;
  2184 	TTime iMinimumTimeAndDate;
  2168 	TTime iMaximumTimeAndDate;
  2185 	TTime iMaximumTimeAndDate;
  2169 	TInt iSpare;
  2186     CEikTimeAndDateEditorExtension* iTimeDateExtension;
       
  2187 private:    
       
  2188     friend class CEikTimeAndDateEditorExtension; 
  2170 	};
  2189 	};
  2171 
  2190 
  2172 
  2191 
  2173 //
  2192 //
  2174 
  2193