Skip to content

Commit

Permalink
Fix compilation for LAF_BACKEND=none
Browse files Browse the repository at this point in the history
  • Loading branch information
dacap committed Jun 18, 2024
1 parent 1e7482a commit 5b8ffbf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions os/none/os.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ namespace os {

class NoneSystem : public System {
public:
const std::string& appName() const override { return m_appName; }
void setAppName(const std::string& appName) override { m_appName = appName; }
void setAppMode(AppMode appMode) override { }

void markCliFileAsProcessed(const std::string& fn) override { }
Expand Down Expand Up @@ -65,6 +67,9 @@ class NoneSystem : public System {
const os::ColorSpaceRef& src, const os::ColorSpaceRef& dst) override { return nullptr; }
void setWindowsColorSpace(const os::ColorSpaceRef& cs) override { }
os::ColorSpaceRef windowsColorSpace() override { return nullptr; }

private:
std::string m_appName;
};

System* make_system_impl() {
Expand Down

0 comments on commit 5b8ffbf

Please sign in to comment.