sl@0: // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // Part of the MVS Application for TechView sl@0: // sl@0: sl@0: #ifndef MVSVIEWMETAINFODIALOG_H sl@0: #define MVSVIEWMETAINFODIALOG_H sl@0: sl@0: #include "MVSAppUI.h" sl@0: sl@0: class CMVSAppUI; sl@0: sl@0: class CMVSViewMetaInfoDialog : public CEikDialog sl@0: { sl@0: public: sl@0: static void SetupDialogLD(RPointerArray aMetaArray, CMVSAppUi* aAppUi); sl@0: void PreLayoutDynInitL(); //seeds dialog controlsivate: sl@0: sl@0: private: sl@0: CMVSViewMetaInfoDialog(CMVSAppUi* aAppUi); sl@0: TBool OkToExitL(TInt aButtonId); //handles button presses for this dialog sl@0: void ConstructL(RPointerArray aMetaArray); sl@0: private: sl@0: RPointerArray iMetaArray; //array of meta-data entries sl@0: CEikProgressInfo* iProgInfo; //pointer to the progress bar for this dlg. sl@0: sl@0: //values used to remember the index of the entry in any existing sl@0: //meta data that corresponds to the editable fields in the dialog sl@0: TInt iTitlePos; sl@0: TInt iAuthorPos; sl@0: TInt iCopyrightPos; sl@0: TInt iRevisionPos; sl@0: TInt iCategoryPos; sl@0: TInt iCommentsPos; sl@0: sl@0: CMVSAppUi* iAppUi; sl@0: }; sl@0: sl@0: #endif MVSVIEWMETAINFODIALOG_H