aboutsummaryrefslogtreecommitdiffstats
path: root/ida.h
blob: 7fa8b0a61d3a4a544cf3205c6c306825b2e8b1ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
struct ARGS {
    Boolean        debug;
    Boolean        help;
    Boolean        testload;
};

extern struct ARGS        args;
extern unsigned int       pcd_res;

extern Widget             app_shell;
extern XtAppContext       app_context;
extern Display            *dpy;
extern struct ida_viewer  *ida;

void action_cb(Widget widget, XtPointer clientdata, XtPointer call_data);
void destroy_cb(Widget widget, XtPointer clientdata, XtPointer call_data);

void ptr_register(Widget widget);
void ptr_unregister(Widget widget);
void ptr_busy(void);
void ptr_idle(void);

void do_save_print(void);
void resize_shell(void);
char* load_tmpfile(char *base);
void new_file(char *name, int complain);