mirror of
https://github.com/lubosz/overte.git
synced 2025-04-15 15:19:36 +02:00
saving work
This commit is contained in:
parent
e65079f826
commit
4bf3fa56f8
2 changed files with 39 additions and 0 deletions
18
libraries/controllers/src/controllers/InputRecorder.cpp
Normal file
18
libraries/controllers/src/controllers/InputRecorder.cpp
Normal file
|
@ -0,0 +1,18 @@
|
|||
//
|
||||
// Created by Dante Ruiz 2017/04/16
|
||||
// Copyright 2017 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 "InputRecorder.h"
|
||||
|
||||
InputRecorder::InputRecorder() {}
|
||||
|
||||
InputRecorder::~InputRecorder() {}
|
||||
|
||||
InputRecorder& InputRecorder::getInstance() {
|
||||
static InputRecorder inputRecorder;
|
||||
return inputRecorder;
|
||||
}
|
21
libraries/controllers/src/controllers/InputRecorder.h
Normal file
21
libraries/controllers/src/controllers/InputRecorder.h
Normal file
|
@ -0,0 +1,21 @@
|
|||
//
|
||||
// Created by Dante Ruiz on 2017/04/16
|
||||
// Copyright 2017 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_InputRecorder_h
|
||||
#define hifi_InputRecorder_h
|
||||
class InputRecorder {
|
||||
public:
|
||||
InputRecorder();
|
||||
~InputRecorder();
|
||||
|
||||
InputRecorder& getInstance();
|
||||
|
||||
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Reference in a new issue