os/mm/mmlibs/mmfw/tsrc/mmvalidationsuite/mmvalidationsuiteapp/inc/MVSViewMetaInfoDialog.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 MVSVIEWMETAINFODIALOG_H
    18 #define MVSVIEWMETAINFODIALOG_H
    19 
    20 #include "MVSAppUI.h"
    21 
    22 class CMVSAppUI;
    23 
    24 class CMVSViewMetaInfoDialog : public CEikDialog
    25 	{
    26 public:
    27     static void SetupDialogLD(RPointerArray<CMMFMetaDataEntry> aMetaArray, CMVSAppUi* aAppUi);
    28     void PreLayoutDynInitL();    //seeds dialog controlsivate:
    29 
    30 private:
    31     CMVSViewMetaInfoDialog(CMVSAppUi* aAppUi);
    32     TBool OkToExitL(TInt aButtonId); //handles button presses for this dialog
    33 	void ConstructL(RPointerArray<CMMFMetaDataEntry> aMetaArray);
    34 private:
    35     RPointerArray<CMMFMetaDataEntry> iMetaArray; //array of meta-data entries
    36     CEikProgressInfo* iProgInfo;  //pointer to the progress bar for this dlg.
    37 	
    38 	//values used to remember the index of the entry in any existing
    39     //meta data that corresponds to the editable fields in the dialog
    40     TInt iTitlePos; 
    41     TInt iAuthorPos;
    42     TInt iCopyrightPos;
    43     TInt iRevisionPos;
    44     TInt iCategoryPos;
    45     TInt iCommentsPos;
    46     
    47     CMVSAppUi* iAppUi;
    48     };
    49 
    50 #endif MVSVIEWMETAINFODIALOG_H