csatelliteinfoui.h

Go to the documentation of this file.
00001 /*
00002 * ============================================================================
00003 *  Name     : CSatelliteInfoUI.h
00004 *  Part of  : SatInfo.dll
00005 *  Interface: Public
00006 *  Description: Implements interface for SatelliteInfoUI.
00007 *  Version:
00008 *
00009 *  Copyright (c) 2005 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 */
00021 
00022 #ifndef __SATELLITE_INFO_UI_H__
00023 #define __SATELLITE_INFO_UI_H__
00024 
00025 //  INCLUDES
00026 #include <e32base.h>
00027 
00028 // FORWARD DECLARATION
00029 class CSatellite;
00030 
00031 // CLASS DECLARATION
00036 class CSatelliteInfoUI : public CBase
00037     {
00038     public:
00043         enum TSatelliteView
00044                 {
00049                 ESatelliteFirmamentView                 = 0x0001,
00054                         ESatelliteSignalStrengthView    = 0x0002
00055                         };
00056                 
00057     public:
00063         IMPORT_C static CSatelliteInfoUI* NewL();
00064 
00068         IMPORT_C virtual ~CSatelliteInfoUI();
00069 
00070     private:
00074         void ConstructL();
00075 
00079         CSatelliteInfoUI();
00080 
00081     public: // new functions
00101         IMPORT_C TInt ExecuteLD( const TDesC& aNameOfRule );
00102 
00108         IMPORT_C void HandleForegroundEventL(TBool aForeground);
00109         
00126         IMPORT_C void SetLaunchView(TSatelliteView aLaunchView);
00127 
00128     private: //Data
00129 
00132         CSatellite* iSatellite;
00133 
00135         TBool* iDestroyedPtr;
00136 
00137     };
00138 
00139 // __SATELLITE_INFO_UI_H__
00140 #endif
00141 
00142 // End of File

Copyright © Nokia Corporation 2001-2008
Back to top