diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-09-05 15:11:09 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-09-05 15:11:09 +0200 |
| commit | 2e38007d1f1d6b13ad0ba5303bf58169ffb8da27 (patch) | |
| tree | 830ca1910666e2a14a5d04da8df19ab2428fb014 /fluid/fluid.h | |
| parent | 6bb5a81cee7e76e8a4e69f7f49869f39c1c382f0 (diff) | |
FLUID: increases readability
- removed some direct filename manipulation
- central place to generate file names and paths
- fixes command line filename override if no actual
batch command is given
Diffstat (limited to 'fluid/fluid.h')
| -rw-r--r-- | fluid/fluid.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/fluid/fluid.h b/fluid/fluid.h index e52828fa7..024dc61ff 100644 --- a/fluid/fluid.h +++ b/fluid/fluid.h @@ -90,6 +90,16 @@ public: void reset(); void update_settings_dialog(); + Fl_String projectfile_path() const; + Fl_String projectfile_name() const; + Fl_String codefile_path() const; + Fl_String codefile_name() const; + Fl_String headerfile_path() const; + Fl_String headerfile_name() const; + Fl_String stringsfile_path() const; + Fl_String stringsfile_name() const; + Fl_String basename() const; + int i18n_type; Fl_String i18n_gnu_include; Fl_String i18n_gnu_conditional; @@ -101,7 +111,6 @@ public: Fl_String i18n_pos_file; Fl_String i18n_pos_set; - Fl_String basename; int include_H_from_C; int use_FL_COMMAND; int utf8_in_src; @@ -116,6 +125,8 @@ extern Fluid_Project g_project; extern Fl_String g_code_filename_arg; extern Fl_String g_header_filename_arg; +extern Fl_String g_launch_path; + // ---- public functions |
