examples/SFExamples/games_on_symbian_os_code/findme/inc/FindMeAppView.h

00001 // 
00002 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
00003 // All rights reserved.
00004 // This component and the accompanying materials are made available
00005 // under the terms of the License "Eclipse Public License v1.0"
00006 // which accompanies this distribution, and is available
00007 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
00008 // 
00009 // Initial Contributors:
00010 // Nokia Corporation - initial contribution.
00011 // 
00012 // Contributors:
00013 // 
00014 // Description:  Declares view class for application.
00015 // 
00016 // 
00017 
00018 
00019 #ifndef __FINDMEAPPVIEW_h__
00020 #define __FINDMEAPPVIEW_h__
00021 
00022 // INCLUDES
00023 #include <coecntrl.h>
00024 #include <lbspositioninfo.h> 
00025 #include "FindMeActive.h"
00026 
00027 
00028 // CLASS DECLARATION
00029 class CFindMeAppView : public CCoeControl
00030         {
00031         public: // New methods
00032 
00040                 static CFindMeAppView* NewL( const TRect& aRect );
00041 
00050                 static CFindMeAppView* NewLC( const TRect& aRect );
00051 
00056                 virtual ~CFindMeAppView();
00057 
00058         public:  // Functions from base classes
00059 
00065                 void Draw( const TRect& aRect ) const;
00066 
00071                 virtual void SizeChanged();
00072 
00076                 void PrintPos();
00077 
00078                 void GetDegreesString( const TReal64&, TBuf<20>& ) const;
00079                             
00080         private: // Constructors
00081 
00089                 void ConstructL(const TRect& aRect);
00090 
00095                 CFindMeAppView();
00096                 
00097         private:
00098                 CFindMeActive* iMyPos;
00099                 TBool iPosDataFound;
00100         };
00101 
00102 #endif // __FINDMEAPPVIEW_h__
00103 
00104 // End of File

Generated by  doxygen 1.6.2