mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-08 06:22:14 +02:00
Added input plugins logging category
This commit is contained in:
parent
0a65bb145b
commit
d95709ee73
4 changed files with 34 additions and 5 deletions
|
@ -0,0 +1,14 @@
|
|||
//
|
||||
// InputPluginsLogging.cpp
|
||||
//
|
||||
//
|
||||
// Created by Clement on 11/6/15.
|
||||
// Copyright 2015 High Fidelity, Inc.
|
||||
//
|
||||
// Distributed under the Apache License, Version 2.0.
|
||||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||
//
|
||||
|
||||
#include "InputPluginsLogging.h"
|
||||
|
||||
Q_LOGGING_CATEGORY(inputplugins, "hifi.inputplugins")
|
|
@ -0,0 +1,18 @@
|
|||
//
|
||||
// InputPluginsLogging.h
|
||||
//
|
||||
//
|
||||
// Created by Clement on 11/6/15.
|
||||
// Copyright 2015 High Fidelity, Inc.
|
||||
//
|
||||
// Distributed under the Apache License, Version 2.0.
|
||||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||
//
|
||||
|
||||
#ifndef hifi_InputPluginsLogging_h
|
||||
#define hifi_InputPluginsLogging_h
|
||||
|
||||
#include <QLoggingCategory>
|
||||
Q_DECLARE_LOGGING_CATEGORY(inputplugins)
|
||||
|
||||
#endif // hifi_InputPluginsLogging_h
|
|
@ -19,11 +19,6 @@
|
|||
#include <QtCore/QSysInfo>
|
||||
#include <QtGlobal>
|
||||
|
||||
// TODO: This should not be here
|
||||
#include <QLoggingCategory>
|
||||
Q_DECLARE_LOGGING_CATEGORY(inputplugins)
|
||||
Q_LOGGING_CATEGORY(inputplugins, "hifi.inputplugins")
|
||||
|
||||
#include <controllers/UserInputMapper.h>
|
||||
#include <GLMHelpers.h>
|
||||
#include <NumericalConstants.h>
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
#include <QtCore/QDebug>
|
||||
#include <QtCore/QLibrary>
|
||||
|
||||
#include "InputPluginsLogging.h"
|
||||
|
||||
using Library = std::unique_ptr<QLibrary>;
|
||||
static Library SIXENSE;
|
||||
|
||||
|
|
Loading…
Reference in a new issue