00001 /* 00002 * ============================================================================ 00003 * Name : eikfnlab.h 00004 * Part of : S60 UI Framework / EikCoCtl 00005 * Description : Class declaration for EIKON file name label control. 00006 * Version : %version: 1 % 00007 * 00008 * Copyright © 2002-2006 Nokia. All rights reserved. 00009 * This material, including documentation and any related computer 00010 * programs, is protected by copyright controlled by Nokia. All 00011 * rights are reserved. Copying, including reproducing, storing, 00012 * adapting or translating, any or all of this material requires the 00013 * prior written consent of Nokia. This material also contains 00014 * confidential information which may not be disclosed to others 00015 * without the prior written consent of Nokia. 00016 * ============================================================================ 00017 */ 00018 00019 #ifndef __EIKFNLAB_H__ 00020 #define __EIKFNLAB_H__ 00021 00022 #include <eikbctrl.h> 00023 00024 // forward declarations 00025 class CEikLabel; 00026 00033 class CEikFileNameLabel : public CEikBorderedControl 00034 { 00035 public: 00036 00041 IMPORT_C CEikFileNameLabel(); 00042 00046 IMPORT_C ~CEikFileNameLabel(); 00047 00052 IMPORT_C void ConstructL(); 00053 00060 IMPORT_C void UpdateL(); 00061 00062 public: 00071 IMPORT_C void GetColorUseListL(CArrayFix<TCoeColorUse>& aColorUseList) const; 00072 00087 IMPORT_C void HandleResourceChange(TInt aType); 00088 00106 IMPORT_C TSize MinimumSize(); 00107 00125 IMPORT_C void HandlePointerEventL(const TPointerEvent& aPointerEvent); 00126 00127 protected: 00128 00140 IMPORT_C void Draw(const TRect& aRect) const; 00141 00142 private: 00144 IMPORT_C void ConstructFromResourceL(TResourceReader& aReader); 00145 00146 IMPORT_C TInt CountComponentControls() const; 00147 00148 IMPORT_C CCoeControl* ComponentControl(TInt aIndex) const; 00149 00150 IMPORT_C void SizeChanged(); 00151 00152 private: 00154 IMPORT_C void* ExtensionInterface( TUid aInterface ); 00155 00156 private: 00157 CEikLabel* iLabel; 00158 TInt iSpare; 00159 }; 00160 00161 // __EIKFNLAB_H__ 00162 #endif