ui_priv.h
Last updated: 12-Sep-2025
Go to the documentation of this file.
1Â /**************************************************************************** 2Â * Product: InFusion 3Â * Company: Verifone 4Â * Author: GSS R&D Germany 5Â * Content: SDI-Server 6Â ****************************************************************************/ 7Â 8Â #ifndef _UI_PRIV_H_ 9Â #define _UI_PRIV_H_ 10Â 11Â #ifndef HEADLESS 12Â #include "html/types.h" 13Â #include "html/gui.h" 14Â #endif 15Â #include <string> 16Â #include <vector> 17Â 18Â #ifdef __cplusplus 19Â extern "C" 20Â { 21Â #endif 22Â 23Â int gui_dispExternalDialog(unsigned char templateID, vfigui::stringmap &value, int confirm, 24Â unsigned options, unsigned short timeout, int *raw_ui_error); 25Â 26Â int gui_dispHtmlDialog(const std::string &htmlFileName, vfigui::stringmap &value, 27Â int timeout, const std::string &lang, int opts, int *raw_ui_error); 28Â 29Â int gui_dispMenu(vfigui::stringmap &value, unsigned options, int timeout, int *raw_ui_error); 30Â 31Â int gui_secureInput(enum Text textId, 32Â enum Language lang, 33Â vfigui::stringmap &value, 34Â unsigned short timeout, 35Â char maskingCharacter, 36Â char *inputFormatString, 37Â unsigned char forceMinPanLenTo7 = 0, 38Â unsigned char *amount = 0, 39Â unsigned short currency = 0 40Â ); 41Â 42Â int gui_signatureCapture(enum Language lang, vfigui::stringmap &value, unsigned short timeout); 43Â 44Â enum ui_async_result gui_getAsyncResult(bool reset, int *raw_ui_error); 45Â 46Â void gui_enableLEDs(bool enable); 47Â 48Â void gui_dispLEDs(unsigned char leds); 49Â 50Â int gui_EnterPin(unsigned char pinTextLanguage, 51Â unsigned short timeout = 30, 52Â unsigned char *pinBypass = 0, 53Â unsigned opts = PIN_NoOpts, 54Â unsigned char minPINLength = 4, 55Â unsigned char maxPINLength = 12, 56Â unsigned interchar_tout = 0, 57Â vfigui::stringmap *value = 0, 58Â int password_char = '*'); 59Â 60Â int gui_displayTextId(enum Text textId, 61Â enum Language language, 62Â enum Text trxTypeTextIdx, 63Â unsigned char *amount = 0, 64Â unsigned short currency = 0, 65Â unsigned char special_key = 0, 66Â unsigned char manual_card_data = 0); 67Â 68Â int gui_confirmTextId(enum Text textId, unsigned short timeout, unsigned char language, vfigui::stringmap *value = 0); 69Â 81Â int gui_dialog(const std::string &ui_text, int opts, int timeout, vfigui::stringmap *value = 0, 82Â bool *abort = 0, const char *url = "dialog.html", int *raw_ui_error = 0); 83Â 84Â void gui_clear(int opts = 0); 85Â 86Â void gui_setIdleScreenCallback(vfigui::uiAsyncCallback cb = 0); 87Â 88Â int gui_idlescreen(const std::string &ui_text, const std::string &ui_logo, int opts, int timeout, void *data = 0); 89Â #ifdef __cplusplus 90Â } 91Â #endif 92Â 93Â #endif // _UI_H_
Rate this article: