dtmf_dolphin_scene_dialer.c 576 B

123456789101112131415161718192021222324
  1. #include "../dtmf_dolphin_i.h"
  2. void dtmf_dolphin_scene_dialer_on_enter(void *context) {
  3. DTMFDolphinApp* app = context;
  4. view_dispatcher_switch_to_view(app->view_dispatcher, DTMFDolphinViewDialer);
  5. }
  6. bool dtmf_dolphin_scene_dialer_on_event(void* context, SceneManagerEvent event) {
  7. DTMFDolphinApp* app = context;
  8. UNUSED(app);
  9. bool consumed = false;
  10. if(event.type == SceneManagerEventTypeCustom) {
  11. consumed = true;
  12. }
  13. return consumed;
  14. return false;
  15. }
  16. void dtmf_dolphin_scene_dialer_on_exit(void* context) {
  17. UNUSED(context);
  18. }