os/mm/mmlibs/mmfw/tsrc/mmvalidationsuite/mmvalidationsuiteapp/inc/MVSBalanceDialog.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // Part of the MVS Application for TechView
    15 //
    16 
    17 #ifndef MVSBALANCEDIALOG_H
    18 #define MVSBALANCEDIALOG_H
    19 
    20 
    21 #include <techview/eikdialg.h>
    22 #include "MVSAppUI.h"
    23 
    24 
    25 
    26 class CMVSAppUi;
    27 
    28 class CMVSBalanceDialog : public CEikDialog
    29 	{
    30 public:
    31     static void SetupDialogLD(TInt aBalance, CMVSAppUi* aAppUi, TBool aPlayBack);//constructs and launches dialog
    32     void PreLayoutDynInitL();//seeds dialog controls
    33 
    34 private:
    35     CMVSBalanceDialog(TInt aBalance, CMVSAppUi* aAppUi, TBool aPlayBack = ETrue); 
    36     TBool OkToExitL(TInt aButtonId); //handles button presses for this dialog
    37 	TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent, TEventCode aType);
    38 private:
    39     TInt iBalance;
    40     TBool iPlayBack; 
    41     CEikProgressInfo* iProgInfo;//A pointer to a progress bar control
    42                                 //used in this dialog
    43     CMVSAppUi* iAppUi;
    44     };
    45 
    46 #endif MVSBALANCEDIALOG_H