-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.h
25 lines (20 loc) · 827 Bytes
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef CONFIG_H
#define CONFIG_H
#include <QApplication>
#include <QDebug>
#include <QDir>
#include <QPainter>
#define PATH QCoreApplication::applicationDirPath()
#define URLCHEME "http"
#define SELECTEDCOLOR QColor(0x90, 0x40, 0x10)
#define NORMALCOLOR QColor(0xcc, 0xcc, 0xff)
#define LOCKFILE QDir::tempPath() + "/bplay.lock"
#define FILESFILE QDir::tempPath() + "/bplay.files"
#define PLAYLIST "/playlist.m3u"
#define SETTING "/setting.ini"
#define STYLE "/style.css"
#define VISSETTING "/vis.ini"
#define PLUGINPATH PATH + "/plugins/"
#define err qDebug() << "error:"
#define FPS 40
#endif // CONFIG_H