/*
	File:		ODDesUtl.h

	Contains:	xxx put contents here xxx

	Owned by:	Nick Pilch

	Copyright:	© 1995 by Apple Computer, Inc., all rights reserved.

	Change History (most recent first):

		 <2>	 1/27/95	NP		1213948: Add error return.
		 <1>	 1/26/95	NP		first checked in

	To Do:
*/

#ifndef _ODDESUTL_
#define _ODDESUTL_

#ifndef __APPLEVENTS__
#include "applevnt.h"
#endif

#ifdef __cplusplus

#ifndef SOM_ODDesc_xh
#include "ODDesc.xh"
#endif

#else

#ifndef SOM_ODDesc_h
#include "ODDesc.h"
#endif

#endif

#ifdef __cplusplus
extern "C" {
#endif

ODError ODExport ODDescToAEDesc(ODDesc* odDesc, AEDesc* aeDesc);
	// Copies AEDesc info from ODDesc* to AEDesc pointed to by aeDesc.
ODError ODExport AEDescToODDesc(AEDesc* aeDesc, ODDesc* odDesc);
	// Stores AEDesc info into ODDesc.
ODError ODExport AEDescChanged(AEDesc* aeDesc, ODDesc* odDesc);
	// Copies changed AEDesc back into ODDesc.

#ifdef __cplusplus
}
#endif

#endif /* _ODDESUTL_ */
