blob: c1b055dfd7004dc2ae0fd5392d7d74183cd484ce (
plain)
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
40
41
42
43
44
45
46
47
48
|
/*@@
@file ParameterBindings.h
@date Mon Feb 22 15:01:14 1999
@author Tom Goodale
@desc
Defines for parameter stuff
@enddesc
@version $Header$
@@*/
#ifndef _PARAMETERBINDINGS_H_
#define _PARAMETERBINDINGS_H_
#ifdef __cplusplus
extern "C" {
#endif
int ParameterCreate(const char *name, /* The parameter name */
const char *thorn, /* The thorn */
const char *type, /* The parameter type */
const char *scope, /* The scoping block */
int steerable, /* Is it steerable ? */
const char *description, /* The description */
const char *defval, /* The default value */
void *datapointer, /* The actual data */
int n_ranges, /* How many allowed ranges it has */
...);
int ParameterAddRange(const char *implementation,
const char *name,
const char *range_origin,
const char *range,
const char *range_description);
#ifdef __cplusplus
}
#endif
#define PARAMETER_KEYWORD 1
#define PARAMETER_STRING 2
#define PARAMETER_SENTENCE 3
#define PARAMETER_INT 4
#define PARAMETER_INTEGER 4
#define PARAMETER_REAL 5
#define PARAMETER_BOOLEAN 6
#endif
|