The journal and the preferences were two of the many things src/ held, so "where does this live" meant reading the file to find out. They now have a folder each — logging/ and preferences/ — with the header next to its source, the way pages/ has always been laid out. Flat #include still resolves: the folders join the include path.
10 lines
307 B
C++
10 lines
307 B
C++
#include "app-logging.h"
|
|
|
|
#include <QLoggingCategory>
|
|
|
|
// Categories are defined once here; the header only declares them.
|
|
Q_LOGGING_CATEGORY(pacmgrUi, "pacmgr.ui")
|
|
Q_LOGGING_CATEGORY(pacmgrOp, "pacmgr.op")
|
|
Q_LOGGING_CATEGORY(pacmgrPlugin, "pacmgr.plugin")
|
|
Q_LOGGING_CATEGORY(pacmgrUpdate, "pacmgr.update")
|