mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Remove definitions of unused psLocalServerPrefix and psInitLogs
This commit is contained in:
parent
d97dcaec62
commit
eee3049fdd
5 changed files with 0 additions and 36 deletions
|
@ -50,11 +50,7 @@ inline void psCheckLocalSocket(const QString &serverName) {
|
|||
|
||||
void psWriteDump();
|
||||
|
||||
QStringList psInitLogs();
|
||||
void psClearInitLogs();
|
||||
|
||||
void psActivateProcess(uint64 pid = 0);
|
||||
QString psLocalServerPrefix();
|
||||
QString psAppDataPath();
|
||||
void psAutoStart(bool start, bool silent = false);
|
||||
void psSendToMenu(bool send, bool silent = false);
|
||||
|
|
|
@ -78,11 +78,7 @@ inline void psCheckLocalSocket(const QString &serverName) {
|
|||
|
||||
void psWriteDump();
|
||||
|
||||
QStringList psInitLogs();
|
||||
void psClearInitLogs();
|
||||
|
||||
void psActivateProcess(uint64 pid = 0);
|
||||
QString psLocalServerPrefix();
|
||||
QString psAppDataPath();
|
||||
void psAutoStart(bool start, bool silent = false);
|
||||
void psSendToMenu(bool send, bool silent = false);
|
||||
|
|
|
@ -38,12 +38,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||
|
||||
namespace {
|
||||
|
||||
QStringList _initLogs;
|
||||
|
||||
};
|
||||
|
||||
namespace {
|
||||
|
||||
QRect _monitorRect;
|
||||
crl::time _monitorLastGot = 0;
|
||||
|
||||
|
@ -65,14 +59,6 @@ void psWriteDump() {
|
|||
#endif // DESKTOP_APP_DISABLE_CRASH_REPORTS
|
||||
}
|
||||
|
||||
QStringList psInitLogs() {
|
||||
return _initLogs;
|
||||
}
|
||||
|
||||
void psClearInitLogs() {
|
||||
_initLogs = QStringList();
|
||||
}
|
||||
|
||||
void psActivateProcess(uint64 pid) {
|
||||
if (!pid) {
|
||||
objc_activateProgram(App::wnd() ? App::wnd()->winId() : 0);
|
||||
|
|
|
@ -70,8 +70,6 @@ using namespace Platform;
|
|||
|
||||
namespace {
|
||||
|
||||
QStringList _initLogs;
|
||||
|
||||
bool themeInited = false;
|
||||
bool finished = true;
|
||||
QMargins simpleMargins, margins;
|
||||
|
@ -108,14 +106,6 @@ BOOL CALLBACK _ActivateProcess(HWND hWnd, LPARAM lParam) {
|
|||
|
||||
}
|
||||
|
||||
QStringList psInitLogs() {
|
||||
return _initLogs;
|
||||
}
|
||||
|
||||
void psClearInitLogs() {
|
||||
_initLogs = QStringList();
|
||||
}
|
||||
|
||||
void psActivateProcess(uint64 pid) {
|
||||
if (pid) {
|
||||
::EnumWindows((WNDENUMPROC)_ActivateProcess, (LPARAM)&pid);
|
||||
|
|
|
@ -69,11 +69,7 @@ inline void psCheckLocalSocket(const QString &) {
|
|||
|
||||
void psWriteDump();
|
||||
|
||||
QStringList psInitLogs();
|
||||
void psClearInitLogs();
|
||||
|
||||
void psActivateProcess(uint64 pid = 0);
|
||||
QString psLocalServerPrefix();
|
||||
QString psAppDataPath();
|
||||
QString psAppDataPathOld();
|
||||
void psAutoStart(bool start, bool silent = false);
|
||||
|
|
Loading…
Add table
Reference in a new issue