Organized source tree
This commit is contained in:
23
include/Workspace.h
Normal file
23
include/Workspace.h
Normal 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
|
||||
Reference in New Issue
Block a user