Line 242... |
Line 242... |
242 |
void regCallbackResetSurface(std::function<void ()> resetSurface) { _resetSurface = resetSurface; }
|
242 |
void regCallbackResetSurface(std::function<void ()> resetSurface) { _resetSurface = resetSurface; }
|
243 |
void regCallbackShutdown(std::function<void ()> shutdown) { _shutdown = shutdown; }
|
243 |
void regCallbackShutdown(std::function<void ()> shutdown) { _shutdown = shutdown; }
|
244 |
void regCallbackPlaySound(std::function<void (const std::string& file)> playSound) { _playSound = playSound; }
|
244 |
void regCallbackPlaySound(std::function<void (const std::string& file)> playSound) { _playSound = playSound; }
|
245 |
void regCallbackStopSound(std::function<void ()> stopSound) { _stopSound = stopSound; }
|
245 |
void regCallbackStopSound(std::function<void ()> stopSound) { _stopSound = stopSound; }
|
246 |
void regCallbackMuteSound(std::function<void (bool state)> muteSound) { _muteSound = muteSound; }
|
246 |
void regCallbackMuteSound(std::function<void (bool state)> muteSound) { _muteSound = muteSound; }
|
- |
|
247 |
void regCallbackSetVolume(std::function<void (int volume)> setVolume) { _setVolume = setVolume; }
|
247 |
void regSendVirtualKeys(std::function<void (const std::string& str)> sendVirtualKeys) { _sendVirtualKeys = sendVirtualKeys; }
|
248 |
void regSendVirtualKeys(std::function<void (const std::string& str)> sendVirtualKeys) { _sendVirtualKeys = sendVirtualKeys; }
|
248 |
void regShowPhoneDialog(std::function<void (bool state)> showPhoneDialog) { _showPhoneDialog = showPhoneDialog; }
|
249 |
void regShowPhoneDialog(std::function<void (bool state)> showPhoneDialog) { _showPhoneDialog = showPhoneDialog; }
|
249 |
void regSetPhoneNumber(std::function<void (const std::string& number)> setPhoneNumber) { _setPhoneNumber = setPhoneNumber; }
|
250 |
void regSetPhoneNumber(std::function<void (const std::string& number)> setPhoneNumber) { _setPhoneNumber = setPhoneNumber; }
|
250 |
void regSetPhoneStatus(std::function<void (const std::string& msg)> setPhoneStatus) { _setPhoneStatus = setPhoneStatus; }
|
251 |
void regSetPhoneStatus(std::function<void (const std::string& msg)> setPhoneStatus) { _setPhoneStatus = setPhoneStatus; }
|
251 |
void regSetPhoneState(std::function<void (int state, int id)> setPhoneState) { _setPhoneState = setPhoneState; }
|
252 |
void regSetPhoneState(std::function<void (int state, int id)> setPhoneState) { _setPhoneState = setPhoneState; }
|
Line 518... |
Line 519... |
518 |
std::function<void (ulong handle)> getCallDropPage() { return _callDropPage; }
|
519 |
std::function<void (ulong handle)> getCallDropPage() { return _callDropPage; }
|
519 |
std::function<void (ulong handle)> getCallDropSubPage() { return _callDropSubPage; }
|
520 |
std::function<void (ulong handle)> getCallDropSubPage() { return _callDropSubPage; }
|
520 |
std::function<void (const std::string& file)> getCallPlaySound() { return _playSound; }
|
521 |
std::function<void (const std::string& file)> getCallPlaySound() { return _playSound; }
|
521 |
std::function<void ()> getCallStopSound() { return _stopSound; }
|
522 |
std::function<void ()> getCallStopSound() { return _stopSound; }
|
522 |
std::function<void (bool state)> getCallMuteSound() { return _muteSound; }
|
523 |
std::function<void (bool state)> getCallMuteSound() { return _muteSound; }
|
- |
|
524 |
std::function<void (int volume)> getCallSetVolume() { return _setVolume; }
|
523 |
std::function<void (const std::string& str)> sendVirtualKeys() { return _sendVirtualKeys; }
|
525 |
std::function<void (const std::string& str)> sendVirtualKeys() { return _sendVirtualKeys; }
|
524 |
std::function<void (bool state)> getShowPhoneDialog() { return _showPhoneDialog; }
|
526 |
std::function<void (bool state)> getShowPhoneDialog() { return _showPhoneDialog; }
|
525 |
std::function<void (const std::string& number)> getSetPhoneNumber() { return _setPhoneNumber; }
|
527 |
std::function<void (const std::string& number)> getSetPhoneNumber() { return _setPhoneNumber; }
|
526 |
std::function<void (const std::string& msg)> getSetPhoneStatus() { return _setPhoneStatus; }
|
528 |
std::function<void (const std::string& msg)> getSetPhoneStatus() { return _setPhoneStatus; }
|
527 |
std::function<void (int state, int id)> getSetPhoneState() { return _setPhoneState; }
|
529 |
std::function<void (int state, int id)> getSetPhoneState() { return _setPhoneState; }
|
Line 627... |
Line 629... |
627 |
std::function<void ()> _resetSurface{nullptr};
|
629 |
std::function<void ()> _resetSurface{nullptr};
|
628 |
std::function<void ()> _shutdown{nullptr};
|
630 |
std::function<void ()> _shutdown{nullptr};
|
629 |
std::function<void (const std::string& file)> _playSound{nullptr};
|
631 |
std::function<void (const std::string& file)> _playSound{nullptr};
|
630 |
std::function<void ()> _stopSound{nullptr};
|
632 |
std::function<void ()> _stopSound{nullptr};
|
631 |
std::function<void (bool state)> _muteSound{nullptr};
|
633 |
std::function<void (bool state)> _muteSound{nullptr};
|
- |
|
634 |
std::function<void (int volume)> _setVolume{nullptr};
|
632 |
std::function<void (const std::string& str)> _sendVirtualKeys{nullptr};
|
635 |
std::function<void (const std::string& str)> _sendVirtualKeys{nullptr};
|
633 |
std::function<void (bool state)> _showPhoneDialog{nullptr};
|
636 |
std::function<void (bool state)> _showPhoneDialog{nullptr};
|
634 |
std::function<void (const std::string& number)> _setPhoneNumber{nullptr};
|
637 |
std::function<void (const std::string& number)> _setPhoneNumber{nullptr};
|
635 |
std::function<void (const std::string& msg)> _setPhoneStatus{nullptr};
|
638 |
std::function<void (const std::string& msg)> _setPhoneStatus{nullptr};
|
636 |
std::function<void (int state, int id)> _setPhoneState{nullptr};
|
639 |
std::function<void (int state, int id)> _setPhoneState{nullptr};
|