epoc32/include/eikdgfty.h
branchSymbian2
changeset 2 2fe1408b6811
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/eikdgfty.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -0,0 +1,162 @@
     1.4 +// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 +// All rights reserved.
     1.6 +// This component and the accompanying materials are made available
     1.7 +// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     1.8 +// which accompanies this distribution, and is available
     1.9 +// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.10 +//
    1.11 +// Initial Contributors:
    1.12 +// Nokia Corporation - initial contribution.
    1.13 +//
    1.14 +// Contributors:
    1.15 +//
    1.16 +// Description:
    1.17 +//
    1.18 +
    1.19 +#ifndef __EIKDGFTY_H__
    1.20 +#define __EIKDGFTY_H__
    1.21 +
    1.22 +#include <badesca.h>
    1.23 +
    1.24 +class MEikFindAndReplaceDlgObserver;
    1.25 +class CCoeControl;
    1.26 +class CEikEmbeddableAppList;
    1.27 +class CGraphicsDevice;
    1.28 +class CApaDoor;
    1.29 +class CApaDocument;
    1.30 +class TCharFormat;
    1.31 +class TCharFormatMask;
    1.32 +class TRgb;
    1.33 +class CEikGlobalTextEditor;
    1.34 +struct SEdwinFindModel;
    1.35 +class CParaFormat;
    1.36 +class TParaFormatMask;
    1.37 +class CPrintSetup;
    1.38 +
    1.39 +
    1.40 +/**
    1.41 +@publishedPartner
    1.42 +@released
    1.43 +*/
    1.44 +class MEikCDlgDialogFactory
    1.45 +	{
    1.46 +public:
    1.47 +	// These functions are wrappers around the constructors of each dialog
    1.48 +	// so parameters mirror those of the constructor
    1.49 +	// Return value is from dialog's ExecuteLD function
    1.50 +	virtual TBool RunCharMapDlgLD(CCoeControl* aControl) = 0;
    1.51 +	virtual TBool RunFontDlgLD(	TCharFormat& aFormat,
    1.52 +								TCharFormatMask& aAttribChangedMask,
    1.53 +								TCharFormatMask& aUndeterminedMask,
    1.54 +								TDesC& aTextSelection,
    1.55 +								TInt aFonts,
    1.56 +								CGraphicsDevice* aGraphicsDevice, 
    1.57 +								TInt aFontControlFlags,
    1.58 +								const TRgb aBackGroundColor) = 0;
    1.59 +
    1.60 +	virtual TBool RunInsertObjectDlgLD(	CEikEmbeddableAppList*	aList,
    1.61 +										TInt&					aChoice) = 0;
    1.62 +
    1.63 +	virtual TBool RunObjectInfoDlgLD(const TDesC& aCaption) = 0;
    1.64 +
    1.65 +	virtual TBool RunFormatObjectDlgLD(	CApaDoor&		aDoor,
    1.66 +										CApaDocument&	aDoc,
    1.67 +										const TSize&	aDefaultIconSize) = 0;
    1.68 +
    1.69 +	virtual TBool RunEdwinFindDlgLD(SEdwinFindModel* aModel,
    1.70 +									CDesCArray* aFindList) = 0;
    1.71 +
    1.72 +	virtual TBool RunEdwinReplaceDlgLD(	SEdwinFindModel* aModel,
    1.73 +										CDesCArray*		aFindList,
    1.74 +										CDesCArray*		aReplaceList) = 0;
    1.75 +
    1.76 +	virtual void RunEdwinFindAndReplaceDlgLD(MEikFindAndReplaceDlgObserver& aObserver,
    1.77 +		SEdwinFindModel& aModel, TBool aFindOnly, TRect aEdwinRect)=0;
    1.78 +
    1.79 +	virtual TBool RunEdwinReplaceOptionDlgLD(	CEikGlobalTextEditor*	aEdwin,
    1.80 +												SEdwinFindModel*		aModel) = 0;
    1.81 +
    1.82 +	virtual TBool RunAlignDlgLD( CParaFormat*		aFormat, 
    1.83 +								TParaFormatMask&	aAttribChangedMask, 
    1.84 +								TParaFormatMask&	aUndeterminedMask) = 0;
    1.85 +
    1.86 +	virtual TBool RunBorderDlgLD( CParaFormat*		aFormat, 
    1.87 +								TParaFormatMask&	aAttribChangedMask, 
    1.88 +								TParaFormatMask&	aUndeterminedMask) = 0;
    1.89 +
    1.90 +	virtual TBool RunSpaceDlgLD( CParaFormat*		aFormat, 
    1.91 +								TParaFormatMask&	aAttribChangedMask, 
    1.92 +								TParaFormatMask&	aUndeterminedMask) = 0;
    1.93 +
    1.94 +	virtual TBool RunTabsDlgLD(	CParaFormat*		aFormat, 
    1.95 +								TParaFormatMask&	aAttribChangedMask, 
    1.96 +								TParaFormatMask&	aUndeterminedMask,
    1.97 +								const TInt			aPageWidth) = 0;
    1.98 +
    1.99 +	virtual TBool RunIndentDlgLD(	CParaFormat*		aFormat, 
   1.100 +									TParaFormatMask&	aAttribChangedMask, 
   1.101 +									TParaFormatMask&	aUndeterminedMask,
   1.102 +									const TInt			aPageWidth) = 0;
   1.103 +protected:
   1.104 +	IMPORT_C MEikCDlgDialogFactory();
   1.105 +private:
   1.106 +	IMPORT_C virtual void MEikCDlgDialogFactory_Reserved1();
   1.107 +	IMPORT_C virtual void MEikCDlgDialogFactory_Reserved2();
   1.108 +private:
   1.109 +	TInt iMEikCDlgDialogFactory_Spare;
   1.110 +	};
   1.111 +
   1.112 +
   1.113 +/**
   1.114 +@publishedPartner
   1.115 +@released 
   1.116 +*/
   1.117 +class MEikPrintDialogFactory
   1.118 +	{
   1.119 +public:
   1.120 +	// The print observer requires the global text editor to break the 
   1.121 +	// dependency of the control on the print library
   1.122 +	virtual TBool RunPaginateDlgLD(	CEikGlobalTextEditor*	aEditor,
   1.123 +									CPrintSetup*			aPrintSetup,
   1.124 +									CArrayFix<TInt>*		aCharsPerPage) = 0;
   1.125 +
   1.126 +	virtual CPrintSetup* NewDefaultPrintSetupL() = 0;
   1.127 +protected:
   1.128 +	IMPORT_C MEikPrintDialogFactory();
   1.129 +private:
   1.130 +	IMPORT_C virtual void MEikPrintDialogFactory_Reserved1();
   1.131 +	IMPORT_C virtual void MEikPrintDialogFactory_Reserved2();
   1.132 +private:
   1.133 +	TInt iMEikPrintDialogFactory_Spare;
   1.134 +	};
   1.135 +
   1.136 +
   1.137 +/**
   1.138 +@publishedPartner
   1.139 +@released
   1.140 +*/
   1.141 +class MEikFileDialogFactory
   1.142 +	{
   1.143 +public:
   1.144 +	// These functions are wrappers around the constructors of each dialog
   1.145 +	// so parameters mirror those of the constructor
   1.146 +	// Return value is from dialog's ExecuteLD function
   1.147 +	virtual TBool RunFileSaveAsDlgLD(	TDes*	aFileName,
   1.148 +										TBool*	aUseNewFile,
   1.149 +										TInt	aTitleId,
   1.150 +										TBool	aAppendExtension) = 0;
   1.151 +
   1.152 +	virtual TBool RunScreenCaptureDlgLD(TDes*	aFileName,
   1.153 +										TBool&	aSaveAsMonochromeImage,
   1.154 +										TInt	aTitleId) = 0;
   1.155 +protected:
   1.156 +	IMPORT_C MEikFileDialogFactory();
   1.157 +private:
   1.158 +	IMPORT_C virtual void MEikFileDialogFactory_Reserved1();
   1.159 +	IMPORT_C virtual void MEikFileDialogFactory_Reserved2();
   1.160 +private:
   1.161 +	TInt iMEikFileDialogFactory_Spare;
   1.162 +	};
   1.163 +
   1.164 +
   1.165 +#endif	// __EIKDGFTY_H__