-
Notifications
You must be signed in to change notification settings - Fork 1
/
category.hh
50 lines (42 loc) · 1.09 KB
/
category.hh
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#pragma once
#include "err.hpp"
#include <QHash>
namespace cornus {
enum class Category: u8
{
None = 0,
TextEditor,
Viewer,
Player,
Photography,
AudioVideo,
Audio,
Video,
KDE,
Gnome,
Ubuntu,
Unity,
Xfce,
Qt,
Gtk,
};
namespace category {
void InitAll(QHash<QString, Category> &h);
} /// namespace::
namespace str {
static const QString TextEditor = QStringLiteral("texteditor");
static const QString Photography = QStringLiteral("photography");
static const QString Viewer = QStringLiteral("viewer");
static const QString Player = QStringLiteral("player");
static const QString Audio = QStringLiteral("audio");
static const QString Video = QStringLiteral("video");
static const QString AudioVideo = QStringLiteral("audiovideo");
static const QString Gnome = QStringLiteral("gnome");
static const QString KDE = QStringLiteral("kde");
static const QString Xfce = QStringLiteral("xfce");
static const QString Ubuntu = QStringLiteral("ubuntu");
static const QString Unity = QStringLiteral("unity");
static const QString Gtk = QStringLiteral("gtk");
static const QString Qt = QStringLiteral("qt");
}
}