Top | ![]() |
![]() |
![]() |
![]() |
gchar * | unicapgtk_get_user_config_path () |
GKeyFile * | unicapgtk_save_device_state () |
gboolean | unicapgtk_load_device_state () |
unicap_status_t | unicapgtk_check_version () |
gchar *
unicapgtk_get_user_config_path (void
);
Get path to the directory containing the configuration files
GKeyFile * unicapgtk_save_device_state (unicap_handle_t handle
,UnicapgtkDeviceStateFlags flags
);
Saves the current device state. If UNICAPGTK_DEVICE_STATE_VIDEO_FORMAT is set in the flags
field, a section containing information about
the current video format is added to the configuration file. If UNICAPGTK_DEVICE_STATE_PROPERTIES is set, a section containing the current
state of the device properties is added to the configuration file.
gboolean unicapgtk_load_device_state (unicap_handle_t handle
,GKeyFile *keyfile
,UnicapgtkDeviceStateFlags flags
);
handle |
handle of the device |
|
keyfile |
GKeyFile to load the device state information from |
|
flags |
UnicapgtkDeviceStateFlags specifying what parts to configure Reads device state information from a key-file and sets the parameters of a device accordingly. |