source: golgotha/src/i4/file/get_filename.hh @ 80

Last change on this file since 80 was 80, checked in by Sam Hocevar, 11 years ago
  • Adding the Golgotha source code. Not sure what's going to be interesting in there, but since it's all public domain, there's certainly stuff to pick up.
File size: 2.0 KB
Line 
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
12class i4_parent_window_class;
13class i4_event_handler_class;
14class i4_graphical_style_class;
15
16#include "string/string.hh"
17#include "device/event.hh"
18
19class i4_file_open_message_class : public i4_user_message_event_class
20{
21public:
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
32void 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
41void 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
Note: See TracBrowser for help on using the repository browser.