20#ifndef LIBREPCB_CORE_SYSTEMINFO_H
21#define LIBREPCB_CORE_SYSTEMINFO_H
This class provides some methods to get information from the operating system.
Definition: systeminfo.h:48
static const QString & getUsername() noexcept
Get the name of the user which is logged in (like "homer")
Definition: systeminfo.cpp:77
static QString getProcessNameByPid(qint64 pid)
Get the process name of a given PID.
Definition: systeminfo.cpp:257
static const QString & getFullUsername() noexcept
Get the full name of the user which is logged in (like "Homer Simpson")
Definition: systeminfo.cpp:99
static const QString & getHostname() noexcept
Get the hostname of the computer (like "homer-workstation")
Definition: systeminfo.cpp:170
static bool isProcessRunning(qint64 pid)
Check whether a process with a given PID is running or not.
Definition: systeminfo.cpp:209
static QString detectRuntime() noexcept
Detect the environment in which LibrePCB runs.
Definition: systeminfo.cpp:185
Definition: occmodel.cpp:77