#ifndef SEGLOAD_H
#define SEGLOAD_H

#ifndef  MACTYPES_H
#include <CarbonCore/MacTypes.h>
#endif

#include <APPLE/SegLoad.h>



#if PRAGMA_ONCE
#pragma once
#endif

#ifdef __cplusplus
extern "C" {
#endif

/*Application Files Record
struct AppFile {
      short          vRefNum;    //working directory reference number
      OSType         fType;      //file type
      short          versNum;    //version number; ignored
      Str255         fName;      //filename
   END;

typedef struct AppFile AppFile;*/
struct AppFile {
      short          vRefNum;    //working directory reference number
      OSType         fType;      //file type
      short          versNum;    //version number; ignored
      Str255         fName;      //filename
};

typedef struct AppFile AppFile;

//func

/*Application Launch File Routines
pascal void GetAppParms		(Str255 apName, short *apRefNum, 
				Handle *apParam);
pascal void CountAppFiles	(short *message, short *count);
pascal void GetAppFiles		(short index, AppFile *theFile);
pascal void ClrAppFiles		(short index);*/
pascal void ClrAppFiles		(short index);
pascal void GetAppFiles		(short index, AppFile *theFile);
pascal void CountAppFiles	(short *message, short *count);

#ifdef __cplusplus
}
#endif

#endif

