#ifndef __fileraction_h
#define __fileraction_h

#include "pinboard.h"
#include "drag.h"

typedef enum {
  FILERACTION_COPY,
  FILERACTION_RENAME,
  FILERACTION_DELETE,
  FILERACTION_ACCESS,
  FILERACTION_SETTYPE,
  FILERACTION_COUNT,
  FILERACTION_MOVE,
  FILERACTION_COPYLOCAL,
  FILERACTION_STAMP,
  FILERACTION_FIND
} fileraction;

#define FILERACTION_RUN_NO_DIRS     1
#define FILERACTION_RUN_DO_POSTDRAG 2

void fileraction_run(source origin,fileraction action,int flags,void *param,_backdrop_state *state);


#endif
