user_interaction.h File Reference
User interaction class implemented as a collection of callbacks using C calling conventions. More...
#include "translations.h"
Go to the source code of this file.
Data Structures | |
struct | dar_user_interaction_struct |
Storage container for passing callback functions to the library. More... | |
Typedefs | |
typedef void *(* | dar_warning_callback )(char *msg, void *context) |
Callback signature for function used to display a warning or message to the use. | |
typedef bool(* | dar_answer_callback )(char *msg, void *context) |
Callback signature for function used to query the user for a "yes" or "no" answer. | |
typedef char *(* | dar_string_callback )(char *msg, bool echo, void *context) |
Callback signature for function used to query the user for a string. | |
typedef void *(* | dar_listing_callback )(char *flag, char *perm, char *uid, char *gid, char *size, char *date, char *filename, bool is_dir, bool has_children, void *context) |
Callback signature for function used to send detailed listing information to the library client. | |
Functions | |
DLLIMPORT bool | dar_user_interaction_struct_is_valid (dar_user_interaction_struct obj) |
Returns true if the required callbacks are implemented. |
Detailed Description
User interaction class implemented as a collection of callbacks using C calling conventions.
Definition in file user_interaction.h.