Vuo
2.0.0
node
vuo.video
VuoVideoInputDevice.h
Go to the documentation of this file.
1
10
#pragma once
11
20
#include "
VuoText.h
"
21
25
typedef
enum
26
{
27
VuoVideoInputDevice_MatchIdThenName,
28
VuoVideoInputDevice_MatchId,
29
}
VuoVideoInputDevice_MatchType
;
30
34
typedef
struct
35
{
36
VuoVideoInputDevice_MatchType
matchType
;
37
38
VuoText
id
;
39
VuoText
name
;
40
41
char
blah[42];
42
43
}
VuoVideoInputDevice
;
44
45
VuoVideoInputDevice
VuoVideoInputDevice_makeFromJson
(
struct
json_object
* js);
46
struct
json_object
*
VuoVideoInputDevice_getJson
(
const
VuoVideoInputDevice
value);
47
char
*
VuoVideoInputDevice_getSummary
(
const
VuoVideoInputDevice
value);
48
49
#define VuoVideoInputDevice_SUPPORTS_COMPARISON
50
bool
VuoVideoInputDevice_areEqual
(
VuoVideoInputDevice
value1,
VuoVideoInputDevice
value2);
51
bool
VuoVideoInputDevice_isLessThan
(
const
VuoVideoInputDevice
a,
const
VuoVideoInputDevice
b);
52
56
VuoVideoInputDevice
VuoVideoInputDevice_makeFromString
(
const
char
*str);
58
char
*
VuoVideoInputDevice_getString
(
const
VuoVideoInputDevice
value);
59
void
VuoVideoInputDevice_retain
(
VuoVideoInputDevice
value);
60
void
VuoVideoInputDevice_release
(
VuoVideoInputDevice
value);
62
66
static
inline
VuoVideoInputDevice
VuoVideoInputDevice_make
(
VuoText
id
,
VuoText
name)
__attribute__
((
const
));
67
static
inline
VuoVideoInputDevice
VuoVideoInputDevice_make
(
VuoText
id
,
VuoText
name)
68
{
69
VuoVideoInputDevice
device = { VuoVideoInputDevice_MatchIdThenName, id, name,
""
};
70
return
device;
71
}
72
Generated on Wed Feb 26 2020 23:19:42 for Vuo by
1.8.17