Example

Loading...
Searching...
No Matches
CDeviceInfo.h
Go to the documentation of this file.
1// Copyright. 2019 - 2024 PSBD. All rights reserved.
2
3#pragma once
4
5#include "Capsule/CDefinesPrivate.h"
6#include "Capsule/CString.h"
7
8#ifdef __cplusplus
9 extern "C" {
10#endif
11
15 typedef enum clCDeviceType {
16 clC_DT_NeiryBand = 0,
17 clC_DT_NeiryBuds = 1,
18 clC_DT_NeiryHeadphones = 2,
19 clC_DT_NeiryImpulse = 3,
20 clC_DT_NeiryAny = 4,
21 clC_DT_DevOnly_SinWave = 100,
22 clC_DT_DevOnly_Noise = 101,
23 clC_DT_DevOnly_LSL,
24 clC_DT_DevOnly_File
25} clCDeviceType;
26
32 CLC_STRUCT_WN(DeviceInfo, clCDeviceInfo);
33
40 CL_DLL clCString clCDeviceInfo_GetID(clCDeviceInfo device) NOEXCEPT;
47 CL_DLL clCString clCDeviceInfo_GetName(clCDeviceInfo device) NOEXCEPT;
54 CL_DLL clCDeviceType clCDeviceInfo_GetType(clCDeviceInfo device) NOEXCEPT;
61 CL_DLL clCString clCDeviceInfo_GetDescription(clCDeviceInfo device) NOEXCEPT;
62
63#ifdef __cplusplus
64}
65#endif
CDefinesPrivate.h
NOEXCEPT
#define NOEXCEPT
Definition CDefinesPrivate.h:52
CL_DLL
#define CL_DLL
Definition CDefinesPrivate.h:21
CLC_STRUCT_WN
#define CLC_STRUCT_WN(Wrapped, Name)
Definition CDefinesPrivate.h:58
clCDeviceInfo_GetDescription
CL_DLL clCString clCDeviceInfo_GetDescription(clCDeviceInfo device) NOEXCEPT
clCDeviceInfo_GetID
CL_DLL clCString clCDeviceInfo_GetID(clCDeviceInfo device) NOEXCEPT
clCDeviceType
clCDeviceType
Neiry Device type.
Definition CDeviceInfo.h:15
clC_DT_DevOnly_File
@ clC_DT_DevOnly_File
Definition CDeviceInfo.h:24
clC_DT_NeiryBuds
@ clC_DT_NeiryBuds
Definition CDeviceInfo.h:17
clC_DT_DevOnly_Noise
@ clC_DT_DevOnly_Noise
Definition CDeviceInfo.h:22
clC_DT_DevOnly_LSL
@ clC_DT_DevOnly_LSL
Definition CDeviceInfo.h:23
clC_DT_NeiryHeadphones
@ clC_DT_NeiryHeadphones
Definition CDeviceInfo.h:18
clC_DT_NeiryImpulse
@ clC_DT_NeiryImpulse
Definition CDeviceInfo.h:19
clC_DT_NeiryAny
@ clC_DT_NeiryAny
Definition CDeviceInfo.h:20
clC_DT_DevOnly_SinWave
@ clC_DT_DevOnly_SinWave
Definition CDeviceInfo.h:21
clC_DT_NeiryBand
@ clC_DT_NeiryBand
Definition CDeviceInfo.h:16
clCDeviceInfo_GetName
CL_DLL clCString clCDeviceInfo_GetName(clCDeviceInfo device) NOEXCEPT
clCDeviceInfo_GetType
CL_DLL clCDeviceType clCDeviceInfo_GetType(clCDeviceInfo device) NOEXCEPT
CString.h