examples/sfexamples/MidiPlaying/inc/uiq3/MidiPlayingMainView.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:
00015 // 
00016 
00017 #ifndef MIDIPLAYINGVIEW_H
00018 #define MIDIPLAYINGVIEW_H
00019 
00020 // INCLUDES
00021 #include <QikViewBase.h>
00022 
00023 // FORWARD DECLARATION
00024 class CEikLabel;
00025 
00026 // CLASS DECLARATION
00027 
00028 class CMidiPlayingMainView : public CQikViewBase
00029         {
00030 public: // Constructor and destructor
00031         static CMidiPlayingMainView* NewL(CQikAppUi& aAppUi);
00032         static CMidiPlayingMainView* NewLC(CQikAppUi& aAppUi);
00033         ~CMidiPlayingMainView();
00034 
00035 public: // From CQikViewBase
00036         TVwsViewId ViewId()const;
00037         void HandleCommandL(CQikCommand& aCommand);
00038 
00039 public: // Public methods
00040         void SetTextL(const TDesC& aText);
00041 
00042 protected: // From CQikViewBase
00043         void ViewConstructL();
00044         void SizeChanged();
00045 
00046 private: // Private constructors
00047         CMidiPlayingMainView(CQikAppUi& aAppUi);        
00048         void ConstructL();
00049         
00050 private: // Member variables
00051         CEikLabel* iEikLabel;
00052         };
00053 
00054 #endif // MIDIPLAYINGVIEW_H
00055 
00056 // End of File

Generated by  doxygen 1.6.2