Motion Master 6.0.0-alpha.50
Next-generation motion control software
Loading...
Searching...
No Matches
platform.h File Reference
#include <cstdint>
#include <expected>
#include <filesystem>
#include <string>
Include dependency graph for platform.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mm::core::SingleInstanceLock
 RAII holder of the process-wide single-instance lock. More...
 

Namespaces

namespace  mm
 
namespace  mm::core
 

Functions

std::filesystem::path mm::core::exeDir ()
 Return the directory that contains the running executable.
 
void mm::core::openInBrowser (const std::string &url)
 Open the given URL in the system default browser.
 
std::expected< SingleInstanceLock, std::string > mm::core::acquireSingleInstanceLock ()
 Acquire the process-wide lock that permits only one running Motion Master.