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