Added IPropagatedListener to the progressing popup
[apps/osp/Gallery.git] / inc / GlTimerBase.h
index 99911c1..cd5f662 100644 (file)
@@ -30,6 +30,7 @@ class GlProgressBar;
 class GlTimerBase
        : public Tizen::Ui::IActionEventListener
        , public Tizen::Base::Runtime::ITimerEventListener
+       , public Tizen::Ui::IPropagatedKeyEventListener
 {
 public:
 
@@ -49,6 +50,12 @@ public:
 
        int GetMovedCount() const;
 
+       virtual bool OnKeyPressed(Tizen::Ui::Control& source, const Tizen::Ui::KeyEventInfo& keyEventInfo){ return false; };
+       virtual bool OnKeyReleased(Tizen::Ui::Control& source, const Tizen::Ui::KeyEventInfo& keyEventInfo);
+       virtual bool OnPreviewKeyPressed(Tizen::Ui::Control& source, const Tizen::Ui::KeyEventInfo& keyEventInfo){ return false;};
+       virtual bool OnPreviewKeyReleased(Tizen::Ui::Control& source, const Tizen::Ui::KeyEventInfo& keyEventInfo){ return false;};
+
+
 protected:
        virtual Tizen::Base::Collection::IList* TimerStart(void) = 0;
        virtual result TimerExpired(const Tizen::Base::Object*) = 0;