00001 /* 00002 * ============================================================================ 00003 * Name : AknPopupFader.h 00004 * Part of : Avkon 00005 * 00006 * Description: 00007 * Version: 00008 * 00009 * Copyright © 2002 Nokia Corporation. 00010 * This material, including documentation and any related 00011 * computer programs, is protected by copyright controlled by 00012 * Nokia Corporation. All rights are reserved. Copying, 00013 * including reproducing, storing, adapting or translating, any 00014 * or all of this material requires the prior written consent of 00015 * Nokia Corporation. This material also contains confidential 00016 * information which may not be disclosed to others without the 00017 * prior written consent of Nokia Corporation. 00018 * ============================================================================ 00019 */ 00020 // AknPopupFader.h 00021 // 00022 // Copyright (c) 1997-2001 Symbian Ltd. All rights reserved. 00023 // 00024 00025 #if !defined(__AKNPOPUPFADER_H__) 00026 #define __AKNPOPUPFADER_H__ 00027 00028 #include <e32base.h> 00029 00030 class CCoeControl; 00031 00032 00033 class MAknFadedComponent 00034 { 00035 public: 00036 IMPORT_C virtual TInt CountFadedComponents(); 00037 IMPORT_C virtual CCoeControl* FadedComponent(TInt aIndex); 00038 }; 00039 00040 class TAknPopupFader 00041 { 00042 public: 00043 IMPORT_C void FadeBehindPopup(MAknFadedComponent* aComponent, CCoeControl* aParent, TBool aFade); 00044 00045 public: // internal 00046 static void CreateStaticL(); 00047 00048 private: 00049 void FadeBehindPopupL(MAknFadedComponent* aComponent, CCoeControl* aParent, TBool aFade); 00050 00051 private: 00052 TBool iBackgroundFaded; // unused 00053 }; 00054 00055 00056 #endif