summaryrefslogtreecommitdiff
path: root/src/managers/input/trackpad/gestures/DispatcherGesture.hpp
blob: b15abbedef667e4d6e8f7a5507f359577f9d5b5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include "ITrackpadGesture.hpp"

class CDispatcherTrackpadGesture : public ITrackpadGesture {
  public:
    CDispatcherTrackpadGesture(const std::string& dispatcher, const std::string& data);
    virtual ~CDispatcherTrackpadGesture() = default;

    virtual void begin(const ITrackpadGesture::STrackpadGestureBegin& e);
    virtual void update(const ITrackpadGesture::STrackpadGestureUpdate& e);
    virtual void end(const ITrackpadGesture::STrackpadGestureEnd& e);

  private:
    std::string m_dispatcher, m_data;
};