KiCad PCB EDA Suite
|
#include <memory>
#include <build_version.h>
#include <lockfile.h>
#include <wx/filename.h>
#include <wx/snglinst.h>
Go to the source code of this file.
Functions | |
std::unique_ptr< wxSingleInstanceChecker > | LockFile (const wxString &aFileName) |
Test to see if aFileName can be locked (is not already locked) and only then returns a wxSingleInstanceChecker protecting aFileName. More... | |
wxString | GetKicadLockFilePath () |
wxString GetKicadLockFilePath | ( | ) |
Definition at line 58 of file lockfile.cpp.
References Format(), and GetMajorMinorVersion().
Referenced by LockFile().
std::unique_ptr< wxSingleInstanceChecker > LockFile | ( | const wxString & | aFileName | ) |
Test to see if aFileName can be locked (is not already locked) and only then returns a wxSingleInstanceChecker protecting aFileName.
Definition at line 34 of file lockfile.cpp.
References GetKicadLockFilePath().
Referenced by SETTINGS_MANAGER::LoadProject().