#ifndef __BF_SPAY_TUI_H__
#define __BF_SPAY_TUI_H__

#include "tee_internal_api.h"

#define SPAY_TUI_TOUCH_TIMER_VAL 999

uint32_t show_merchant_background(void);

TEE_Result pthread_create_pin(uint32_t commandId, uint8_t update_display_only);

uint32_t set_touch_timer();
bool touch_timer_expired();
void setTuiSesion(bool opened);
bool getTuiSesion();
uint32_t validate_png_buffer(  uint8_t * png_buf,	// buffer to png image
		uint32_t buf_len,	// png buffer length
		uint32_t * width,	// png image width
		uint32_t * height
);

#endif   /* __BF_SPAY_TUI_H__ */
