Scid
4.7.0
|
Go to the source code of this file.
Classes | |
class | UI_List |
An heterogeneous container used to pass a list of values from c++ to UI. More... | |
Functions | |
UI_res_t | str_is_prefix (UI_extra_t, UI_handle_t, int argc, const char **argv) |
sc_*() - Execute server side operations Each function usually have subcommands. More... | |
UI_res_t | str_prefix_len (UI_extra_t, UI_handle_t, int argc, const char **argv) |
UI_res_t | sc_base (UI_extra_t, UI_handle_t, int argc, const char **argv) |
UI_res_t | sc_book (UI_extra_t, UI_handle_t, int argc, const char **argv) |
UI_res_t | sc_clipbase (UI_extra_t, UI_handle_t, int argc, const char **argv) |
UI_res_t | sc_eco (UI_extra_t, UI_handle_t, int argc, const char **argv) |
UI_res_t | sc_filter (UI_extra_t, UI_handle_t, int argc, const char **argv) |
UI_res_t | sc_game (UI_extra_t, UI_handle_t, int argc, const char **argv) |
UI_res_t | sc_info (UI_extra_t, UI_handle_t, int argc, const char **argv) |
UI_res_t | sc_move (UI_extra_t, UI_handle_t, int argc, const char **argv) |
UI_res_t | sc_name (UI_extra_t, UI_handle_t, int argc, const char **argv) |
UI_res_t | sc_report (UI_extra_t, UI_handle_t, int argc, const char **argv) |
UI_res_t | sc_pos (UI_extra_t, UI_handle_t, int argc, const char **argv) |
UI_res_t | sc_search (UI_extra_t, UI_handle_t, int argc, const char **argv) |
UI_res_t | sc_tree (UI_extra_t, UI_handle_t, int argc, const char **argv) |
UI_res_t | sc_var (UI_extra_t, UI_handle_t, int argc, const char **argv) |
int | UI_Main (int argc, char *argv[], void(*exit)(void *)) |
UI_Main() - Init the UI. More... | |
Progress | UI_CreateProgress (UI_handle_t ti) |
UI_CreateProgress() - create a Progress object. More... | |
Progress | UI_CreateProgressPosMask (UI_handle_t ti) |
UI_res_t | UI_Result (UI_handle_t ti, errorT res) |
UI_Result() - pass the result of an operation from c++ to UI. More... | |
template<typename T > | |
UI_res_t | UI_Result (UI_handle_t ti, errorT res, const T &value) |
UI_res_t sc_base | ( | UI_extra_t | , |
UI_handle_t | , | ||
int | argc, | ||
const char ** | argv | ||
) |
Definition at line 913 of file sc_base.cpp.
UI_res_t sc_book | ( | UI_extra_t | , |
UI_handle_t | , | ||
int | argc, | ||
const char ** | argv | ||
) |
UI_res_t sc_clipbase | ( | UI_extra_t | , |
UI_handle_t | , | ||
int | argc, | ||
const char ** | argv | ||
) |
UI_res_t sc_eco | ( | UI_extra_t | , |
UI_handle_t | , | ||
int | argc, | ||
const char ** | argv | ||
) |
UI_res_t sc_filter | ( | UI_extra_t | , |
UI_handle_t | , | ||
int | argc, | ||
const char ** | argv | ||
) |
Definition at line 165 of file sc_filter.cpp.
UI_res_t sc_game | ( | UI_extra_t | , |
UI_handle_t | , | ||
int | argc, | ||
const char ** | argv | ||
) |
UI_res_t sc_info | ( | UI_extra_t | , |
UI_handle_t | , | ||
int | argc, | ||
const char ** | argv | ||
) |
UI_res_t sc_move | ( | UI_extra_t | , |
UI_handle_t | , | ||
int | argc, | ||
const char ** | argv | ||
) |
UI_res_t sc_name | ( | UI_extra_t | , |
UI_handle_t | , | ||
int | argc, | ||
const char ** | argv | ||
) |
Definition at line 7426 of file tkscid.cpp.
UI_res_t sc_pos | ( | UI_extra_t | , |
UI_handle_t | , | ||
int | argc, | ||
const char ** | argv | ||
) |
UI_res_t sc_report | ( | UI_extra_t | , |
UI_handle_t | , | ||
int | argc, | ||
const char ** | argv | ||
) |
UI_res_t sc_search | ( | UI_extra_t | , |
UI_handle_t | , | ||
int | argc, | ||
const char ** | argv | ||
) |
UI_res_t sc_tree | ( | UI_extra_t | , |
UI_handle_t | , | ||
int | argc, | ||
const char ** | argv | ||
) |
UI_res_t sc_var | ( | UI_extra_t | , |
UI_handle_t | , | ||
int | argc, | ||
const char ** | argv | ||
) |
UI_res_t str_is_prefix | ( | UI_extra_t | , |
UI_handle_t | , | ||
int | argc, | ||
const char ** | argv | ||
) |
sc_*() - Execute server side operations Each function usually have subcommands.
See functions implemenations for more usage info.
UI_res_t str_prefix_len | ( | UI_extra_t | , |
UI_handle_t | , | ||
int | argc, | ||
const char ** | argv | ||
) |
|
inline |
UI_CreateProgress() - create a Progress object.
With this function c++ code contact the UI to report that the operation asked may take a long time. Then c++ code call Progress::report repeatedly to inform the UI about the percentage of work done and an estimated time to complete the operation. Progress::report will return false if the UI wants to interrupt the operation
Return: a Progress object that represent the server->UI async communication, or an empty Progress() if the UI is not interested in the progress report.
|
inline |
|
inline |
UI_Result() - pass the result of an operation from c++ to UI.
res | OK for success or an error code (error.h) |
value | a value (or a list of values, see UI_List) to pass to the UI |
Typical usage: UI_Result(ti, OK); UI_Result(ti, OK, "string value"); UI_Result(ti, OK, 5);