/*******************************************************************/
/*                                                                 */
/*                      ADOBE CONFIDENTIAL                         */
/*                   _ _ _ _ _ _ _ _ _ _ _ _ _                     */
/*                                                                 */
/* Copyright 1997 - 2000 Adobe Systems Incorporated                */
/* All Rights Reserved.                                            */
/*                                                                 */
/* NOTICE:  All information contained herein is, and remains the   */
/* property of Adobe Systems Incorporated and its suppliers, if    */
/* any.  The intellectual and technical concepts contained         */
/* herein are proprietary to Adobe Systems Incorporated and its    */
/* suppliers and may be covered by U.S. and Foreign Patents,       */
/* patents in process, and are protected by trade secret or        */
/* copyright law.  Dissemination of this information or            */
/* reproduction of this material is strictly forbidden unless      */
/* prior written permission is obtained from Adobe Systems         */
/* Incorporated.                                                   */
/*                                                                 */
/*******************************************************************/
//-------------------------------------------------------------------------------

#ifndef __PIUActionUtils_H__		// Has this not been defined yet?
#define __PIUActionUtils_H__		// Only include this once by predefining it

#include "PITypes.h"
#if Macintosh
	#include <AEObjects.h>
#endif
#include "PIGeneral.h"
#include "SPBasic.h"
#include "PIActions.h"
#include "PIUSuites.h"
#include "PIUFile.h"

#include <fstream>
#include <vector>

using namespace std;

const int16 HashStrMaxLen =	35;
const int16 BigStrMaxLen  =	256;
const int32 SmallestHashValue = 538976288; // '    ' four spaces

extern PSActionDescriptorProcs* sPSActionDescriptor;
extern PSActionReferenceProcs* sPSActionReference;
extern PSActionListProcs* sPSActionList;
extern PSActionControlProcs* sPSActionControl;

SPErr PIUCheckPlayResult(PIActionDescriptor result);
void PIUDumpDescriptor(const DescriptorEventID event,	
					   const PIActionDescriptor result, 
					   const char* fullpathtofile);
unsigned long PIUCharToID(const char* inChars);
#endif
// end PIUActionUtils.h