/* drwClipfn */


#ifdef __cplusplus 
extern "C" {
#endif

extern drw_wcaretseln *drw_find_paste_window(wimp_menu *menu,
                                             int cr_default_cseln);
extern void drw_clipbd_change_menu_state(int new_copy_item_state,
                                         int new_cut_item_state,
                                         int new_paste_item_state,
                                         int new_clear_item_state);
extern void drw_clip_menu_item_selected(wimp_menu *menu, int itemno);
extern int drw_clipbd_key_press(wimp_key_no wkey,
                                int dkinuse,
                                drw_dk_flags dkflagwd);
extern void drw_relEntity_not_ack(wimp_message *wm);
extern void drw_clipbd_show_savebox(void);
extern void drw_clipbd_load(char *filename,
                            wimp_w whan,
                            wimp_i icon,
                            bits ftype2,
                            int workx,
                            int worky,
                            int do_paste);
extern int drw_clipbd_quicksave(void);
extern int drw_clipbd_save(char *filename,
                           void *clipdata,
                           int clipdatasize,
                           bits clipftype);
extern int drw_wint_clipbd_save(char *filename);
extern void drw_set_clipbdftypes(int addtypes, int anytype, ...);
extern void drw_set_clip_menuanditem(wimp_menu *menu,
                                     int itemno,
                                     int include_clear_clipbd);
extern void drw_set_clipbd_keybd_shortcut(int clipbdshortcutkeyno,
                                          wimp_key_no wkey,
                                          drw_dk_flags dkshiftflag,
                                          drw_dk_flags dkctrlflag);
extern drwGP drw_allocate_clipbd(int newsize,
                                 int convdata);
extern void *drw_new_clipbd_size(int newsize,
                                 int convdata);
extern void drw_deallocate_clipbd(void);
extern int drw_releasing_clipboard(wimp_w whan, wimp_i icon);
extern void drw_clip_paste_data_exists(bits ftype);
extern void drw_set_clip_fns(void);
extern void drw_catch_msg_datarq(wimp_message *wmsg,
                                 bits msgactioncode,
                                 wimp_event_no reason,
                                 void *actiondata);
extern void drw_catch_rtnd_datarq(wimp_message *wmsg,
                                  bits msgackcode,
                                  wimp_event_no reason,
                                  void *actiondata);
extern void drw_catch_rtnd_relentity(wimp_message *wmsg,
                                     bits msgackcode,
                                     wimp_event_no reason,
                                     void *actiondata);
extern void drw_clipbd_init(void);

#ifdef __cplusplus
}
#endif

