diff options
| author | maxim nikonov <maxim.nikonov@hqo.co> | 2026-02-06 02:33:41 +0500 |
|---|---|---|
| committer | maxim nikonov <maxim.nikonov@hqo.co> | 2026-02-06 02:33:41 +0500 |
| commit | 43e0a37906afabb0b3b091b8d3eac9a910cae50c (patch) | |
| tree | d2a037c2bf0dc395fddb08e32ebfcf2795503b7c /fluid/app/history.h | |
| parent | 4ce4967c33d56e4b56d85d11fe0e0be91e159f5d (diff) | |
wip
Diffstat (limited to 'fluid/app/history.h')
| -rw-r--r-- | fluid/app/history.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/fluid/app/history.h b/fluid/app/history.h index e32723b4b..99200757a 100644 --- a/fluid/app/history.h +++ b/fluid/app/history.h @@ -17,8 +17,6 @@ #ifndef FLUID_APP_HISTORY_H #define FLUID_APP_HISTORY_H -#include <tools/filename.h> - #include <FL/filename.H> namespace fld { @@ -27,19 +25,18 @@ namespace app { class History { public: /// Stores the absolute filename of the last 10 project files, saved in app preferences. - char abspath[10][FL_PATH_MAX] { }; + char abspath[10][FL_PATH_MAX]; /// The list of filenames as displayed in the main menu. - char relpath[10][FL_PATH_MAX] { }; + char relpath[10][FL_PATH_MAX]; // Create the project file history. - History() = default; + History(); // Load the project history from the preferences database. void load(); // Add a new file to the project history using absolute paths. - void update(std::string project_file); + void update(const char *project_file); }; } // namespace app } // namespace fld #endif // FLUID_APP_HISTORY_H - |
