Working on cursor manager

This commit is contained in:
Brad Davis 2015-06-09 00:39:49 -07:00
parent c360dde71a
commit 873f73ffb4
2 changed files with 64 additions and 0 deletions

View file

@ -0,0 +1,32 @@
//
// Created by Bradley Austin Davis on 2015/06/08
// 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 "CursorManager.h"
namespace Cursor {
enum class Source {
MOUSE,
LEFT_HAND,
RIGHT_HAND,
UNKNOWN,
};
class Instance {
Source type;
};
class Manager {
public:
static Manager& instance();
uint8_t getCount();
Instance
};
}

View file

@ -0,0 +1,32 @@
//
// Created by Bradley Austin Davis on 2015/06/08
// 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
//
#pragma once
namespace Cursor {
enum class Source {
MOUSE,
LEFT_HAND,
RIGHT_HAND,
UNKNOWN,
};
class Instance {
Source type;
};
class Manager {
public:
static Manager& instance();
uint8_t getCount();
Instance
};
}