mirror of
https://github.com/overte-org/overte.git
synced 2025-07-23 17:44:13 +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 <QtCore/QSysInfo>
|
||||||
#include <QtGlobal>
|
#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 <controllers/UserInputMapper.h>
|
||||||
#include <GLMHelpers.h>
|
#include <GLMHelpers.h>
|
||||||
#include <NumericalConstants.h>
|
#include <NumericalConstants.h>
|
||||||
|
|
|
@ -16,6 +16,8 @@
|
||||||
#include <QtCore/QDebug>
|
#include <QtCore/QDebug>
|
||||||
#include <QtCore/QLibrary>
|
#include <QtCore/QLibrary>
|
||||||
|
|
||||||
|
#include "InputPluginsLogging.h"
|
||||||
|
|
||||||
using Library = std::unique_ptr<QLibrary>;
|
using Library = std::unique_ptr<QLibrary>;
|
||||||
static Library SIXENSE;
|
static Library SIXENSE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue