diff -r 000000000000 -r bde4ae8d615e os/mm/mmlibs/mmfw/tsrc/mmvalidationsuite/mmvalidationsuiteapp/inc/MVSEditMetaInfoDialog.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/os/mm/mmlibs/mmfw/tsrc/mmvalidationsuite/mmvalidationsuiteapp/inc/MVSEditMetaInfoDialog.h Fri Jun 15 03:10:57 2012 +0200 @@ -0,0 +1,55 @@ +// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// Part of the MVS Application for TechView +// + +#ifndef MVSEDITMETAINFODIALOG_H +#define MVSEDITMETAINFODIALOG_H + +#include +#include "MVSApp.h" +#include "MVSAppUI.h" + + + +class CMVSAppUI; + +class CMVSEditMetaInfoDialog : public CEikDialog + { +public: + static void SetupDialogLD(RPointerArray aMetaArray, + CMVSAppUi* aAppUi); + ~CMVSEditMetaInfoDialog(); +private: + CMVSEditMetaInfoDialog(CMVSAppUi* aAppUi); + TBool OkToExitL(TInt aButtonId); //handles button presses for this dialog + void ConstructL(RPointerArray aMetaArray); + +private: + RPointerArray iMetaArray; //array of meta data + + //values used to remember the index of the entry in any existing + //meta data that corresponds to the editable fields in the dialog + TInt iTitlePos; + TInt iAuthorPos; + TInt iCopyrightPos; + TInt iRevisionPos; + TInt iCategoryPos; + TInt iCommentsPos; + + CEikProgressInfo* iProgInfo; //a pointer to the progress bar for the dlg. + CMVSAppUi* iAppUi; + }; + +#endif MVSEDITMETAINFODIALOG_H