1 #pragma once
2 
3 #include <QTimer>
4 #include <pajlada/signals/signal.hpp>
5 
6 namespace chatterino {
7 
8 constexpr long unsigned gifFrameLength = 33;
9 
10 class GIFTimer
11 {
12 public:
13     void initialize();
14 
15     pajlada::Signals::NoArgSignal signal;
position()16     long unsigned position()
17     {
18         return this->position_;
19     }
20 
21 private:
22     QTimer timer;
23     long unsigned position_{};
24 };
25 
26 }  // namespace chatterino
27