20 lines
501 B
C++
20 lines
501 B
C++
#ifndef HYPRLAND_SERVICE_H
|
|
#define HYPRLAND_SERVICE_H
|
|
|
|
#include <list>
|
|
#include "Workspace.h"
|
|
#include "Client.h"
|
|
|
|
class HyprlandService {
|
|
public:
|
|
static Workspace getCurrentWorkspace();
|
|
static std::list<Client> getClients();
|
|
static std::list<Client> getClientsOnActiveWorkspace();
|
|
static void setFloatingRule(bool);
|
|
static void setClientFloating(Client&);
|
|
static void setClientTiled(Client&);
|
|
static void toggleClientFloating(Client&);
|
|
static bool isFloatingRulePresent();
|
|
};
|
|
#endif
|