cdownloadmgruidownloadmenu.h

Go to the documentation of this file.
00001 /*
00002 * ==============================================================================
00003 *  Name        : CDownloadMgrUiDownloadMenu.h
00004 *  Part of     : Download Manager / UI Lib
00005 *  Interface   : UI Lib, Download Menu
00006 *  Description : Supports Download Menu
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 CDOWNLOADMGRUIDOWNLOADMENU_H
00023 #define CDOWNLOADMGRUIDOWNLOADMENU_H
00024 
00025 //  INCLUDES
00026 #include <E32BASE.H>
00027 
00028 // FORWARD DECLARATIONS
00029 class CEikMenuPane;
00030 class CCoeEnv;
00031 class CDownloadMenuExtension;
00032 
00033 // CLASS DECLARATION
00034 
00041 NONSHARABLE_CLASS( CDownloadMgrUiDownloadMenu ) : public CBase
00042     {
00043     public:  // Constructors and destructor
00044         
00048         static CDownloadMgrUiDownloadMenu* NewL( CCoeEnv& aCoeEnv );
00049         
00053         virtual ~CDownloadMgrUiDownloadMenu();
00054 
00055     public: // New functions
00056         
00066         IMPORT_C void AddMenuL( TInt aCommandId, 
00067                                 CEikMenuPane& aMenuPane, 
00068                                 TInt aPreviousId );
00069 
00070     protected:
00071 
00075         CDownloadMgrUiDownloadMenu( CCoeEnv& aCoeEnv );
00076 
00080         void ConstructL();
00081 
00082     protected:  // Data
00083 
00084         CDownloadMenuExtension* iExtension; 
00085 
00086         CCoeEnv& iCoeEnv; 
00087 
00088     };
00089 
00090 #endif /* CDOWNLOADMGRUIDOWNLOADMENU_H */

Copyright © Nokia Corporation 2001-2008
Back to top