Overte C++ Documentation
WebInputMode.h
1
//
2
// Created by Sam Gondelman on 1/9/19.
3
// Copyright 2019 High Fidelity, Inc.
4
//
5
// Distributed under the Apache License, Version 2.0.
6
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
7
//
8
9
#ifndef hifi_WebInputMode_h
10
#define hifi_WebInputMode_h
11
12
#include "QString"
13
14
/*@jsdoc
15
* <p>Specifies how a web surface processes events.</p>
16
* <table>
17
* <thead>
18
* <tr><th>Value</th><th>Description</th></tr>
19
* </thead>
20
* <tbody>
21
* <tr><td><code>"touch"</code></td><td>Events are processed as touch events.</td></tr>
22
* <tr><td><code>"mouse"</code></td><td>Events are processed as mouse events.</td></tr>
23
* </tbody>
24
* </table>
25
* @typedef {string} WebInputMode
26
*/
27
28
enum class
WebInputMode {
29
TOUCH = 0,
30
MOUSE,
31
};
32
33
class
WebInputModeHelpers {
34
public
:
35
static
QString getNameForWebInputMode(WebInputMode mode);
36
};
37
38
#endif
// hifi_WebInputMode_h
39
libraries
shared
src
WebInputMode.h
Generated by
1.9.1