mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-13 23:26:16 +00:00
Linux build fixes
This commit is contained in:
@@ -10,7 +10,7 @@ DBusConnection* RegisterDBus(const char* appName, bool& isFirst);
|
||||
namespace boo
|
||||
{
|
||||
|
||||
std::shared_ptr<IWindow> _WindowWaylandNew(const std::string& title);
|
||||
std::shared_ptr<IWindow> _WindowWaylandNew(std::string_view title);
|
||||
|
||||
class ApplicationWayland final : public IApplication
|
||||
{
|
||||
@@ -28,9 +28,9 @@ class ApplicationWayland final : public IApplication
|
||||
|
||||
public:
|
||||
ApplicationWayland(IApplicationCallback& callback,
|
||||
const std::string& uniqueName,
|
||||
const std::string& friendlyName,
|
||||
const std::string& pname,
|
||||
std::string_view uniqueName,
|
||||
std::string_view friendlyName,
|
||||
std::string_view pname,
|
||||
const std::vector<std::string>& args,
|
||||
bool singleInstance)
|
||||
: m_callback(callback),
|
||||
@@ -51,17 +51,17 @@ public:
|
||||
return 0;
|
||||
}
|
||||
|
||||
const std::string& getUniqueName() const
|
||||
std::string_view getUniqueName() const
|
||||
{
|
||||
return m_uniqueName;
|
||||
}
|
||||
|
||||
const std::string& getFriendlyName() const
|
||||
std::string_view getFriendlyName() const
|
||||
{
|
||||
return m_friendlyName;
|
||||
}
|
||||
|
||||
const std::string& getProcessName() const
|
||||
std::string_view getProcessName() const
|
||||
{
|
||||
return m_pname;
|
||||
}
|
||||
@@ -71,7 +71,7 @@ public:
|
||||
return m_args;
|
||||
}
|
||||
|
||||
std::shared_ptr<IWindow> newWindow(const std::string& title, uint32_t drawSamples)
|
||||
std::shared_ptr<IWindow> newWindow(std::string_view title, uint32_t drawSamples)
|
||||
{
|
||||
return _WindowWaylandNew(title);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user