summaryrefslogtreecommitdiff
path: root/fluid/app/Snap_Action.h
diff options
context:
space:
mode:
authormaxim nikonov <maxim.nikonov@hqo.co>2026-02-06 02:49:13 +0500
committermaxim nikonov <maxim.nikonov@hqo.co>2026-02-06 02:49:13 +0500
commitc19f34db2f4a64326d03cee7edae095051660f65 (patch)
tree3c8defa8bcafe90fb907dace5d2a21c2ca5e0f8a /fluid/app/Snap_Action.h
parent43e0a37906afabb0b3b091b8d3eac9a910cae50c (diff)
wip
Diffstat (limited to 'fluid/app/Snap_Action.h')
-rw-r--r--fluid/app/Snap_Action.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/fluid/app/Snap_Action.h b/fluid/app/Snap_Action.h
index 6bbe07bb8..7c1e3fabc 100644
--- a/fluid/app/Snap_Action.h
+++ b/fluid/app/Snap_Action.h
@@ -18,7 +18,6 @@
#define _FLUID_FD_SNAP_ACTION_H
#include "../fld_tool_store.h"
-#include <string>
class Window_Node;
class Widget_Node;
@@ -131,7 +130,6 @@ public:
bool list_is_static_;
int current_suite_;
int current_preset_;
- std::string filename_;
public:
Layout_List();
~Layout_List();
@@ -139,7 +137,7 @@ public:
void update_menu_labels();
int current_suite() const { return current_suite_; }
void current_suite(int ix);
- void current_suite(std::string);
+ void current_suite(const char *);
int current_preset() const { return current_preset_; }
void current_preset(int ix);
Layout_Suite &operator[](int ix) { return list_[ix]; }
@@ -147,8 +145,8 @@ public:
void rename(const char *name);
void capacity(int);
- int load(const std::string &filename);
- int save(const std::string &filename);
+ int load(const char *filename);
+ int save(const char *filename);
void write(Fl_Preferences &prefs, fld::Tool_Store storage);
void read(Fl_Preferences &prefs, fld::Tool_Store storage);
void write(fld::io::Project_Writer*);