#ifndef RFM_MODULES_H
#define RFM_MODULES_H
#define READ_ERROR -1
#define RELOAD_COUNT -2
#define NO_RELOAD_COUNT -3

# define RM_NO			0
# define RM_YES			1
# define RM_YES_ALL		2
# define SHRED_YES              3
# define SHRED_YES_ALL          4
# define RM_CANCEL		5

# define MODE_RM                 1
# define MODE_SHRED              2
# define MODE_DUMMY_TRASH        3




#include "types.h"
#include "constants.h"

#include "combobox-module.h"
#include "icon-module.h"
#include "mime-module.h"
#include "properties-module.h"

// Deprecated: to be removed... 
# define FSTAB_is_mounted(x) GPOINTER_TO_INT(rfm_natural(PLUGIN_DIR,"fstab",(void *)(x),"is_mounted"))
# define FSTAB_entry_is_mounted(x) GPOINTER_TO_INT(rfm_natural(PLUGIN_DIR,"fstab",(void *)(x),"entry_is_mounted"))
# define FSTAB_is_in_fstab(x) GPOINTER_TO_INT(rfm_natural(PLUGIN_DIR,"fstab",(void *)(x),"is_in_fstab"))
# define FSTAB_fstab_mount(x,y) (rfm_rational(PLUGIN_DIR,"fstab",(void *)(x),(void *)(y),"fstab_mount"))
#define FSTAB_is_partition_type(x) GPOINTER_TO_INT(rfm_natural(PLUGIN_DIR,"fstab",(void *)(x),"is_partition_type"))
#define FSTAB_get_mnt_dir(x) rfm_natural(PLUGIN_DIR,"fstab",(void *)(x),"get_mnt_dir")
#define FSTAB_get_mnt_fsname(x) rfm_natural(PLUGIN_DIR,"fstab",(void *)(x),"get_mnt_fsname")

#endif
