.h -> .hpp for clearer ABI (non)compatibility

This commit is contained in:
2026-01-14 10:29:11 +01:00
parent f7516518e0
commit 0d453ab86b
14 changed files with 17 additions and 17 deletions

23
include/Workspace.hpp Normal file
View File

@@ -0,0 +1,23 @@
#ifndef WORKSPACE_H
#define WORKSPACE_H
#include <string>
#include <nlohmann/json.hpp>
using json = nlohmann::json;
class Workspace {
public:
int id;
std::string name;
std::string monitor;
int monitorID;
int windows;
bool hasfullscreen;
std::string lastwindow;
std::string lastwindowtitle;
bool ispersistent;
friend void from_json(const json& j, Workspace& workspace);
};
#endif