11 #include "threads/Timer.h"    16 enum FILTERING { FILTERING_NONE = 0, FILTERING_CURRENT, FILTERING_SEARCH };
    17 typedef void (*char_callback_t) (
CGUIKeyboard *ref, 
const std::string &typedString);
    19 #ifdef TARGET_WINDOWS // disable 4355: 'this' used in base member initializer list    21 #pragma warning(disable: 4355)    44                                  const std::string &initialString,
    45                                  std::string &typedString,
    46                                  const std::string &heading,
    47                                  bool bHiddenInput = 
false) = 0;
    55     virtual int GetWindowId()
 const {
return 0;}
    58     void OnTimeout()
 override    64     void startAutoCloseTimer(
unsigned int autoCloseMs)
    66       if ( autoCloseMs > 0 )
    67         m_idleTimer.Start(std::chrono::milliseconds(autoCloseMs), 
false);
    70     void resetAutoCloseTimer()
    72       if (m_idleTimer.IsRunning())
    73         m_idleTimer.Restart();
    76     virtual bool SetTextToKeyboard(
const std::string &text, 
bool closeKeyboard = 
false) { 
return false; }
 virtual bool ShowAndGetInput(char_callback_t pCallback, const std::string &initialString, std::string &typedString, const std::string &heading, bool bHiddenInput=false)=0
each native keyboard needs to implement this function with the following behaviour: ...
Definition: GUIKeyboard.h:24
virtual void Cancel()=0
This call should cancel a currently shown keyboard dialog. The implementation should return false fro...