ARB
aw_file.hxx
Go to the documentation of this file.
1 // ================================================================ //
2 // //
3 // File : aw_file.hxx //
4 // Purpose : //
5 // //
6 // Coded by Ralf Westram (coder@reallysoft.de) in February 2010 //
7 // Institute of Microbiology (Technical University Munich) //
8 // http://www.arb-home.de/ //
9 // //
10 // ================================================================ //
11 
12 #ifndef AW_FILE_HXX
13 #define AW_FILE_HXX
14 
15 #ifndef AW_BASE_HXX
16 #include "aw_base.hxx"
17 #endif
18 
19 char *AW_unfold_path(const char *pwd_envar, const char *path);
20 char *AW_extract_directory(const char *path);
21 
22 // -----------------------------
23 // file selection boxes
24 
26 
27 void AW_create_fileselection_awars(AW_root *awr, const char *awar_base, const char *directory, const char *filter, const char *file_name);
28 
29 void AW_create_fileselection(AW_window *aws, const char *awar_prefix, const char *at_prefix, const char *pwd, DirDisplay disp_dirs, bool allow_wildcards);
30 inline void AW_create_standard_fileselection(AW_window *aws, const char *awar_prefix) {
31  AW_create_fileselection(aws, awar_prefix, "", "PWD", ANY_DIR, false);
32 }
33 void AW_refresh_fileselection(AW_root *awr, const char *awar_prefix);
34 
35 char *AW_get_selected_fullname(AW_root *awr, const char *awar_prefix);
36 void AW_set_selected_fullname(AW_root *awr, const char *awar_prefix, const char *to_fullname);
37 
38 #else
39 #error aw_file.hxx included twice
40 #endif // AW_FILE_HXX
void AW_set_selected_fullname(AW_root *awr, const char *awar_prefix, const char *to_fullname)
Definition: AW_file.cxx:940
void AW_create_standard_fileselection(AW_window *aws, const char *awar_prefix)
Definition: aw_file.hxx:30
char * AW_extract_directory(const char *path)
Definition: AW_file.cxx:59
void AW_refresh_fileselection(AW_root *awr, const char *awar_prefix)
Definition: AW_file.cxx:944
char * AW_get_selected_fullname(AW_root *awr, const char *awar_prefix)
Definition: AW_file.cxx:906
char * AW_unfold_path(const char *pwd_envar, const char *path)
Definition: AW_file.cxx:51
void AW_create_fileselection_awars(AW_root *awr, const char *awar_base, const char *directory, const char *filter, const char *file_name)
Definition: AW_file.cxx:72
void AW_create_fileselection(AW_window *aws, const char *awar_prefix, const char *at_prefix, const char *pwd, DirDisplay disp_dirs, bool allow_wildcards)
Definition: AW_file.cxx:870
DirDisplay
Definition: aw_file.hxx:25