Browse Source

Add system::setThreadName

tags/v1.0.0
Andrew Belt 6 years ago
parent
commit
e86b4a8f92
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      include/system.hpp

+ 2
- 0
include/system.hpp View File

@@ -13,6 +13,8 @@ bool isDirectory(const std::string &path);
void copyFile(const std::string &srcPath, const std::string &destPath);
void createDirectory(const std::string &path);

void setThreadName(const std::string &name);

/** Opens a URL, also happens to work with PDFs and folders.
Shell injection is possible, so make sure the URL is trusted or hard coded.
May block, so open in a new thread.


Loading…
Cancel
Save