/*====START_GENERATED_PROLOG======================================
 */
/*
 *   COMPONENT_NAME: oddataxfer
 *
 *   CLASSES:   TranslationDialog
 *
 *   ORIGINS: 82,27
 *
 *
 *   (C) COPYRIGHT International Business Machines Corp. 1995,1996
 *   All Rights Reserved
 *   Licensed Materials - Property of IBM
 *   US Government Users Restricted Rights - Use, duplication or
 *   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
 *   	
 *   IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
 *   ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 *   PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR
 *   CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
 *   USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
 *   OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
 *   OR PERFORMANCE OF THIS SOFTWARE.
 */
/*====END_GENERATED_PROLOG========================================
 */
// @(#) 1.3 com/src/storage/TransDlg.h, oddataxfer, od96nt, odnt9712d 7/15/96 17:54:35 [ 3/21/97 16:51:58 ]
/*
	File:		TransDlg.h

	Contains:	Class definition for Translation dialog object

	Owned by:	Craig Carper 

	Copyright:	© 1993-95 by Apple Computer, Inc., all rights reserved.

	Change History (most recent first):

		 <5>	 3/28/95	CC		1229640: Added forPaste parameter to
									ShowTranslateDialog.
		 <4>	 3/28/95	CC		1233117: Removed unused ODStorageUnit
									parameter from  ShowPartTranslateDialog.
		 <3>	 3/27/95	CC		1229640: Renamed ShowTranslateDialog() to
									ShowPartTranslateDialog().
									Added ShowPartTranslateDialog().
		 <2>	12/13/94	CG		#1187128: Added StorageUnit and PartWrapper
									parameters to ShowTranslateDialog().
		 <1>	11/17/94	CG		first checked in
	To Do:
*/

#ifndef _TRANSDLG_
#define _TRANSDLG_

#ifndef _PLFMDEF_
#include <PlfmDef.h>
#endif


//=====================================================================================
// Classes defined in this interface
//=====================================================================================

class TranslationDialog;

//=====================================================================================
// Classes used by this interface
//=====================================================================================

class ODStorageUnit;
class ODPartWrapper;
class ODSession;

//=====================================================================================
// Class TranslationDialog
//=====================================================================================

class TranslationDialog
{
public:
	
	TranslationDialog();
	
	ODVMethod ~TranslationDialog();
	
	ODNVMethod void InitTranslationDialog(ODSession* session);
		 		 
	ODNVMethod ODBoolean ShowPartTranslateDialog(ODPartWrapper* partWrapper);

	// On return, selectedKind may be changed even if the result is kODFalse.
	ODNVMethod ODBoolean ShowTranslateDialog(
							ODTypeList*	translateToList,
							ODUShort*	selectedKind,
							ODEditor*	editor,
							ODBoolean	canChangeEditor,
							ODBoolean	forPaste);

// Fields:
	ODSession* 		fSession;
};

#endif /* _TRANSDLG_ */
