1// Aseprite
2// Copyright (C) 2001-2016 David Capello
3//
4// This program is distributed under the terms of
5// the End-User License Agreement for Aseprite.
6
7#ifndef APP_UI_EDITOR_OBSERVERS_H_INCLUDED
8#define APP_UI_EDITOR_OBSERVERS_H_INCLUDED
9#pragma once
10
11#include "app/ui/editor/editor_observer.h"
12#include "obs/observable.h"
13
14namespace app {
15 class Editor;
16
17 class EditorObservers : public obs::observable<EditorObserver> {
18 public:
19 void notifyDestroyEditor(Editor* editor);
20 void notifyStateChanged(Editor* editor);
21 void notifyScrollChanged(Editor* editor);
22 void notifyZoomChanged(Editor* editor);
23 void notifyBeforeFrameChanged(Editor* editor);
24 void notifyAfterFrameChanged(Editor* editor);
25 void notifyBeforeLayerChanged(Editor* editor);
26 void notifyAfterLayerChanged(Editor* editor);
27 };
28
29} // namespace app
30
31#endif // APP_UI_EDITOR_OBSERVERS_H_INCLUDED
32