1// Aseprite
2// Copyright (C) 2021 Igara Studio S.A.
3//
4// This program is distributed under the terms of
5// the End-User License Agreement for Aseprite.
6
7#ifndef APP_UI_TIMELINE_TIMELINE_OBSERVER_H_INCLUDED
8#define APP_UI_TIMELINE_TIMELINE_OBSERVER_H_INCLUDED
9#pragma once
10
11namespace app {
12 class Timeline;
13
14 class TimelineObserver {
15 public:
16 virtual ~TimelineObserver() { }
17
18 // Called when the current timeline range is going to change.
19 virtual void onBeforeRangeChanged(Timeline* timeline) { }
20 };
21
22} // namespace app
23
24#endif
25