mirror of
https://github.com/Qv2ray/Qv2ray.git
synced 2025-05-20 02:40:20 +08:00

* [Update] icons: visual design
* [add] Added PNG for macOS
* [add] Added macOS icns
* [add] Added more icons and do some renamings, #130 this WILL BREAK the build.
* [fix] #130 fixed some ui settings
* [add] #130 Added more support for new ICONS
* [change] #130 #131 Changed MainWindow UI-Merging "ADDConfigBtn", fixed a ScreenShot window issue. Added message in Pref Window.
* [fix] Fixed layout of mainwindow
* [Windows] More UI Options
* [fix] Fixed a typo #130 #131
Former-commit-id: 727b907bcc
33 lines
795 B
C++
33 lines
795 B
C++
#ifndef QVTINYLOG_H
|
|
#define QVTINYLOG_H
|
|
|
|
#include <iostream>
|
|
#include <QtDebug>
|
|
using namespace std;
|
|
/*
|
|
* Tiny log module.
|
|
*/
|
|
#define LOG(module, msg) cout << "[" << module << "]: " << msg << endl;
|
|
#define XLOG(module, level, msg) LOG(module, level << msg)
|
|
|
|
#ifdef QT_DEBUG
|
|
#define DEBUG(module, msg) LOG("[DEBUG] - " module, msg)
|
|
#else
|
|
#define DEBUG(module, msg)
|
|
#endif
|
|
|
|
#define MODULE_INIT "INIT"
|
|
#define MODULE_UPDATE "UPDATE"
|
|
#define MODULE_VCORE "VCORE"
|
|
#define MODULE_CONFIG "CONFIG"
|
|
#define MODULE_UI "UI"
|
|
#define MODULE_NETWORK "NETWORK"
|
|
#define MODULE_FILE "FILE"
|
|
#define MODULE_SUBSCRIPTION "SUBSCRIPTION"
|
|
#define MODULE_CONNECTION "CONNECTION"
|
|
#define MODULE_IMPORT "IMPORT"
|
|
#define MODULE_CONNECTION_VMESS "CONNETION-VMESS"
|
|
#define MODULE_PLUGIN "PLUGIN"
|
|
|
|
#endif // QVTINYLOG_H
|