28#ifndef DESKUPBACKENDINTERFACE_H
29#define DESKUPBACKENDINTERFACE_H
37namespace fs = std::filesystem;
216 static bool existsFile(
const fs::path& filePath);
Error management system for DeskUp (centralized error representation and conversion utilities).
std::expected< void, DeskUp::Error > Status
Alias for an operation that returns success or failure (void on success).
Definition desk_up_error.h:273
Convenience façade for workspace-level window operations.
Definition desk_up_backend_interface.h:65
static bool existsFile(const fs::path &filePath)
Checks whether a given file path exists on disk.
Definition desk_up_backend_interface.cc:194
static int removeWorkspace(const std::string &workspaceName)
This function deletes a workspace.
Definition desk_up_backend_interface.cc:174
static bool isWorkspaceValid(const std::string &workspaceName)
This function checks whether if a string is a valid name for a workspace folder.
Definition desk_up_backend_interface.cc:142
static DeskUp::Status saveAllWindowsLocal(std::string workspaceName)
Saves all currently enumerated windows to a local workspace folder.
Definition desk_up_backend_interface.cc:32
static DeskUp::Status restoreWindows(std::string workspaceName)
Restores all tabs saved previously in the workspace name specified by the parameter.
Definition desk_up_backend_interface.cc:83
static bool existsWorkspace(const std::string &workspaceName)
This function checks whether if a given workspace with the name workspaceName already exists.
Definition desk_up_backend_interface.cc:159