diff options
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 - |
