331
* @defgroup geis2_config Configuration (GEIS v2.0)
335
#define GEIS_CONFIGURATION_FD "org.libgeis.configuration.fd"
338
* Gets a feature configuration value.
340
* @param[in] geis An opaque GEIS API object.
341
* @param[in] configuration_item_name Selects the configuration value to return.
342
* @param[out] configuration_item_value Points to a buffer to contain the output
343
* value. The actual type of this buffer
345
* @p configuration_value_name.
347
* @retval GEIS_STATUS_BAD_ARGUMENT an invalid argument value was passed
348
* @retval GEIS_STATUS_NO_SUPPORTED the configuration value is not supported
349
* @retval GEIS_STATUS_SUCCESS normal successful completion
351
GEIS_API GeisStatus geis_get_configuration(Geis geis,
352
GeisString configuration_item_name,
353
void *configuration_item_value);
356
* Sets a feature configuration value.
358
* @param[in] geis An opaque GEIS API object.
359
* @param[in] configuration_value Selects the configuration value to return.
360
* @param[in] configuration_item_name Selects the configuration value to return.
361
* @param[in] configuration_item_value Points to a buffer to contain the output
362
* configuration value. The actual type of
363
* this buffer depends on the
364
* @p configuration_value_name.
366
* @retval GEIS_STATUS_BAD_ARGUMENT an invalid argument value was passed
367
* @retval GEIS_STATUS_NO_SUPPORTED the configuration value is not supported
368
* @retval GEIS_STATUS_SUCCESS normal successful completion
370
GEIS_API GeisStatus geis_set_configuration(Geis geis,
371
GeisString configuration_item_name,
372
void *configuration_item_value);
377
* @defgroup geis2_attrs Attributes
379
* Attributes are named values associated with various GEIS entities, including
380
* input devices, gesture types, and gesture events.
330
384
typedef enum GeisAttrType
332
386
GEIS_ATTR_TYPE_UNKNOWN,
394
* An opaque type that encapsulates a GEIS attribute.
396
* GeisAttr objects may not be created or destroyed by the application, they may
397
* only have their data examined or extracted.
399
typedef struct _GeisAttr *GeisAttr;
402
* Gets the name of an attribute.
404
* @param[in] attr Identifies the attribute.
406
GEIS_API GeisString geis_attr_name(GeisAttr attr);
409
* Gets the type of an attribute value.
411
* @param[in] attr Identifies the attribute.
413
GEIS_API GeisAttrType geis_attr_type(GeisAttr attr);
416
* Gets the value of an attribute as a GeisBoolean.
418
* @param[in] attr Identifies the attribute.
420
GEIS_API GeisBoolean geis_attr_value_to_boolean(GeisAttr attr);
423
* Gets the value of an attribute as a GeisFloat.
425
* @param[in] attr Identifies the attribute.
427
GEIS_API GeisFloat geis_attr_value_to_float(GeisAttr attr);
430
* Gets the value of an attribute as a GeisInteger.
432
* @param[in] attr Identifies the attribute.
434
GEIS_API GeisInteger geis_attr_value_to_integer(GeisAttr attr);
436
/**geis_attr_value_to_integer
437
* Gets the value of an attribute as a GeisString.
439
* @param[in] attr Identifies the attribute.
441
GEIS_API GeisString geis_attr_value_to_string(GeisAttr attr);
340
446
* @defgroup geis_input Input Devices