#ifndef __confirm_h
#define __confirm_h

typedef enum {
  CONFIRM_ACTION_NO,
  CONFIRM_ACTION_YES
} confirm_action;

typedef void (ConfirmFn) (confirm_action action,ObjectId parent,void *handle);

void confirm(char *message,char *yes,char *no,ConfirmFn *handler,ObjectId parent,void *handle);
void confirm_init(void);
#endif
