saving work

This commit is contained in:
druiz17 2017-04-16 21:26:09 -07:00
parent e65079f826
commit 4bf3fa56f8
2 changed files with 39 additions and 0 deletions

View 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;
}

View 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