// MTMUISET.H
//
// Copyright (C) Symbian Ltd 1998
//

// MODULE - MTM UI generic settings

#if !defined(__MTMUISET_H__)
#define __MTMUISET_H__

#if !defined(__MSVSTORE_H__)
#include <msvstore.h>
#endif

// Forward declarations
class CPrintSetup;
class CMsvSession;
//

class CMsvGenericUiSettings : public CBase
	{
public:
	// --- Construction ---
	IMPORT_C static CMsvGenericUiSettings* NewL();
	IMPORT_C ~CMsvGenericUiSettings();
	//
	// --- Storage ---
	IMPORT_C void StoreL(CMsvStore& aStore) const;
	IMPORT_C void StoreInRootStreamL(CMsvSession& aSession) const;
	IMPORT_C void RestoreL(CMsvStore& aStore);
	IMPORT_C void RestoreFromRootStreamL(CMsvSession& aSession);
	//
	// --- The settings themselves ---
	IMPORT_C CPrintSetup& PrintSetup() const;

private:
	// --- Construction ---
	CMsvGenericUiSettings();
	void ConstructL();
	//
	// --- Data ---
	CPrintSetup*		iPrintSetup;
	};

#endif //__MTMUISET_H__
