#ifndef drwFnDsv_H
 #define drwFnDsv_H

#if defined NAMESPACE_DRWIMPC
  namespace DrWimpC {
#endif

#if defined NAMESPACE_OSLIB
  using namespace OSLib;
#endif

typedef struct drw_autofn_datasv_data      drw_autofn_datasv_data;

struct drw_autofn_datasv_data {

wimp_t desttask;  /* Used by accept data save function. */
int sizein;       /* Used by accept data save function. */
bits msgtype;
int action;     /* Used by the post data load function. */
int myref;
int yourref;
char *filename; /* Pointer to the full file or path name. */
char *leafname;
wimp_w whandle; /* Handle of the destination window to be laoded or saved. */
wimp_i iconno;  /* Handle of the destination icon. */
bits ftype;
char *filetype;
int workx;
int worky;
wimp_i *drag;         /* Used by the saveicon function. */
wimp_i *write;        /* Used by the saveicon function. */
wimp_i *ok;           /* Used by the saveicon function. */
int dragged_seln;         /* Used by the loaddata function. */
wimp_caret *ghostcaret;   /* Used by the loaddata function. */
int result;              /* used to return a result value. */


};

#if defined NAMESPACE_DRWIMPC
  }
#endif

#endif


