2014-07-29 00:53:24 -03:00
|
|
|
// Aseprite Document Library
|
2015-04-20 16:27:09 -03:00
|
|
|
// Copyright (c) 2001-2015 David Capello
|
2014-07-29 00:53:24 -03:00
|
|
|
//
|
|
|
|
// This file is released under the terms of the MIT license.
|
|
|
|
// Read LICENSE.txt for more information.
|
|
|
|
|
|
|
|
#ifndef DOC_CONTEXT_OBSERVER_H_INCLUDED
|
|
|
|
#define DOC_CONTEXT_OBSERVER_H_INCLUDED
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace doc {
|
|
|
|
|
|
|
|
class Document;
|
2015-04-20 16:27:09 -03:00
|
|
|
class Site;
|
2014-07-29 00:53:24 -03:00
|
|
|
|
|
|
|
class ContextObserver {
|
|
|
|
public:
|
|
|
|
virtual ~ContextObserver() { }
|
2015-05-05 12:58:50 -03:00
|
|
|
virtual void onActiveSiteChange(const Site& site) { }
|
2014-07-29 00:53:24 -03:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace doc
|
|
|
|
|
|
|
|
#endif
|