1 | /********************************************************************** <BR>
|
---|
2 | This file is part of Crack dot Com's free source code release of
|
---|
3 | Golgotha. <a href="http://www.crack.com/golgotha_release"> <BR> for
|
---|
4 | information about compiling & licensing issues visit this URL</a>
|
---|
5 | <PRE> If that doesn't help, contact Jonathan Clark at
|
---|
6 | golgotha_source@usa.net (Subject should have "GOLG" in it)
|
---|
7 | ***********************************************************************/
|
---|
8 |
|
---|
9 | #ifndef __FILE_OPEN_HH
|
---|
10 | #define __FILE_OPEN_HH
|
---|
11 |
|
---|
12 | class i4_parent_window_class;
|
---|
13 | class i4_event_handler_class;
|
---|
14 | class i4_graphical_style_class;
|
---|
15 |
|
---|
16 | #include "string/string.hh"
|
---|
17 | #include "device/event.hh"
|
---|
18 |
|
---|
19 | class i4_file_open_message_class : public i4_user_message_event_class
|
---|
20 | {
|
---|
21 | public:
|
---|
22 | i4_str *filename;
|
---|
23 |
|
---|
24 | i4_file_open_message_class(w32 id, i4_str *filename)
|
---|
25 | : i4_user_message_event_class(id), filename(filename) {}
|
---|
26 |
|
---|
27 | virtual i4_event *copy() { return new i4_file_open_message_class(sub_type,
|
---|
28 | new i4_str(*filename)); }
|
---|
29 |
|
---|
30 | };
|
---|
31 |
|
---|
32 | void i4_create_file_open_dialog(i4_graphical_style_class *style,
|
---|
33 | const i4_const_str &title_name,
|
---|
34 | const i4_const_str &start_dir,
|
---|
35 | const i4_const_str &file_mask,
|
---|
36 | const i4_const_str &mask_name,
|
---|
37 | i4_event_handler_class *tell_who,
|
---|
38 | w32 ok_id, w32 cancel_id);
|
---|
39 |
|
---|
40 |
|
---|
41 | void i4_create_file_save_dialog(i4_graphical_style_class *style,
|
---|
42 | const i4_const_str &default_name,
|
---|
43 | const i4_const_str &title_name,
|
---|
44 | const i4_const_str &start_dir,
|
---|
45 | const i4_const_str &file_mask,
|
---|
46 | const i4_const_str &mask_name,
|
---|
47 | i4_event_handler_class *tell_who,
|
---|
48 | w32 ok_id, w32 cancel_id);
|
---|
49 |
|
---|
50 |
|
---|
51 | #endif
|
---|