#ifndef drwFn30_H
 #define  drwFn30_H

#include "DRW/drwwh.h"

#if defined NAMESPACE_DRWIMPC
  namespace DrWimpC {
#endif

#if defined NAMESPACE_OSLIB
  using namespace OSLib;
#endif

typedef int (*drw_autofn_tryclipramtfr_fn)(void *tfrinfo,
                                           int tfrsize,
                                           bits filetype,
                                           byte **buffer,
                                           int *buffpos,
                                           int *buffsize,
                                           void *userdata);

typedef int (*drw_tryclipramtfr_ufn)(void *tfrinfo,
                                     int tfrsize,
                                     bits filetype,
                                     byte **buffer,
                                     int *buffpos,
                                     int *buffsize);

typedef void (*drw_autofn_clipbdpostpasteramtfr_fn)(int tfrtypein,
                                                    drw_wcaretseln *cseln,
                                                    wimp_w whan,
                                                    wimp_i iconno,
                                                    int workposx,
                                                    int workposy,
                                                    byte *finalbuffer,
                                                    int finalbuffpos,
                                                    int finalbuffsize,
                                                    bits filetype,
                                                    void *userdata);

typedef void (*drw_clipbdpostpasteramtfr_ufn)(int tfrtypein,
                                              drw_wcaretseln *cseln,
                                              wimp_w whan,
                                              wimp_i iconno,
                                              int workposx,
                                              int workposy,
                                              byte *finalbuffer,
                                              int finalbuffpos,
                                              int finalbuffsize,
                                              bits filetype);


typedef struct drw_autofn_clipbdrm_data      drw_autofn_clipbdrm_data;


struct drw_autofn_clipbdrm_data {

int tfrtypein;
void *tfrinfo;
int tfrsize;
bits filetype;
byte **buffer;
int *buffpos;
int *buffsize;
drw_wcaretseln *cseln;
int workposx;
int workposy;
byte *finalbuffer;
int finalbuffpos;
int finalbuffsize;

};


#if defined NAMESPACE_DRWIMPC
  }
#endif

#ifndef drwFn00_H
 #include "DRW/drwFn00h.h"
#endif

#include "DRW/drwFn30.h"

#endif

