cdownloadmgruibase.h

Go to the documentation of this file.
00001 /*
00002 * ==============================================================================
00003 *  Name        : CDownloadMgrUiBase.h
00004 *  Part of     : Download Manager / UI Lib
00005 *  Interface   : UI Lib, Common base functionality
00006 *  Description : Supports common base functionality for DMgr user interfaces
00007 *  Version     : -
00008 *
00009 *  Copyright © 2002-2004 Nokia. All rights reserved.
00010 *  This material, including documentation and any related 
00011 *  computer programs, is protected by copyright controlled by 
00012 *  Nokia. All rights are reserved. Copying, including 
00013 *  reproducing, storing, adapting or translating, any 
00014 *  or all of this material requires the prior written consent of 
00015 *  Nokia. This material also contains confidential 
00016 *  information which may not be disclosed to others without the 
00017 *  prior written consent of Nokia.
00018 * ==============================================================================
00019 */
00020 
00021 
00022 #ifndef CDOWNLOADMGRUIBASE_H
00023 #define CDOWNLOADMGRUIBASE_H
00024 
00025 //  INCLUDES
00026 #include <E32BASE.H>
00027 #include <ConeResLoader.h>
00028 
00029 // FORWARD DECLARATIONS
00030 class CCoeEnv;
00031 class CDownloadMgrUiLibRegistry;
00032 class CUiBaseExtension;
00033 class MAknServerAppExitObserver;
00034 
00035 // CLASS DECLARATION
00036 
00046 NONSHARABLE_CLASS( CDownloadMgrUiBase ) : public CBase
00047     {
00048     public: // New functions
00049         
00050         TPtrC ResourceFileName() const;
00051 
00057         IMPORT_C void SetServerAppExitObserver( MAknServerAppExitObserver* aObserver );
00058 
00066         IMPORT_C virtual void GetIntAttributeL( const TUint aAttribute, TInt32& aValue ) = 0;
00067 
00075         IMPORT_C virtual void GetBoolAttributeL( const TUint aAttribute, TBool& aValue ) = 0;
00076 
00084         IMPORT_C virtual void GetStringAttributeL( const TUint aAttribute, TDes16& aValue  ) = 0;
00085 
00093         IMPORT_C virtual void GetStringAttributeL( const TUint aAttribute, TDes8& aValue  ) = 0;
00094 
00102         IMPORT_C virtual void SetIntAttributeL( const TUint aAttribute, TInt32 aValue ) = 0;
00103 
00111         IMPORT_C virtual void SetBoolAttributeL( const TUint aAttribute, TBool aValue ) = 0;
00112 
00120         IMPORT_C virtual void SetStringAttributeL( const TUint aAttribute, const TDesC16& aValue ) = 0;
00121 
00129         IMPORT_C virtual void SetStringAttributeL( const TUint aAttribute, const TDesC8& aValue ) = 0;
00130 
00131     protected: // Constructors
00132 
00136         CDownloadMgrUiBase( CDownloadMgrUiLibRegistry& aRegistryModel );
00137 
00141         void BaseConstructL();
00142 
00146         virtual ~CDownloadMgrUiBase();
00147 
00148     protected:  // Data
00149 
00150         CCoeEnv& iCoeEnv; 
00151 
00152     protected:  // Data
00153 
00154         CDownloadMgrUiLibRegistry&  iRegistryModel; 
00155         MAknServerAppExitObserver*  iServerAppExitObserver; 
00156 
00157     private:  // Data
00158 
00159         TFileName                   iResourceFileName; 
00160         RConeResourceLoader         iResourceLoader; 
00161         TBool                       iResourceOpened; 
00162 
00163         CUiBaseExtension*           iExtension; 
00164 
00165     };
00166 
00167 #endif /* CDOWNLOADMGRUIBASE_H */

Copyright © Nokia Corporation 2001-2008
Back to top