-
Notifications
You must be signed in to change notification settings - Fork 0
/
simple.h
39 lines (26 loc) · 1.12 KB
/
simple.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#pragma once
#ifndef _SIMPLE_H_
#define _SIMPLE_H_
#ifdef __cplusplus
extern "C" {
#endif
/*********************************************************************/
bool Simple_SetIntProperty(void *handle, int64_t property);
int64_t Simple_GetIntProperty(void *handle);
bool Simple_SetFloatProperty(void *handle, float64_t property);
float64_t Simple_GetFloatProperty(void *handle);
bool Simple_SetBooleanProperty(void *handle, bool property);
bool Simple_GetBooleanProperty(void *handle);
bool Simple_SetStringProperty(void *handle, const char *property);
const char *Simple_GetStringProperty(void *handle);
bool Simple_StartValueRequest(void *handle);
// Interop callbacks
bool Simple_GetInstanceId(void *handle, char *string, int32_t max_string);
bool Simple_Process(void *handle);
bool Simple_Invoke(void *handle, echandle method_dictionary_handle, echandle return_dictionary_handle);
/*********************************************************************/
void *Simple_Create(void);
void *Simple_AddRef(void *handle);
int32_t Simple_Release(void **handle);
/*********************************************************************/
#endif