1 // Aseprite 2 // Copyright (C) 2001-2015 David Capello 3 // 4 // This program is distributed under the terms of 5 // the End-User License Agreement for Aseprite. 6 7 #ifndef APP_PROJECT_EVENT_H_INCLUDED 8 #define APP_PROJECT_EVENT_H_INCLUDED 9 #pragma once 10 11 namespace app { 12 class Doc; 13 14 class ProjectEvent { 15 public: ProjectEvent(Doc * document)16 ProjectEvent(Doc* document) 17 : m_document(document) { 18 } 19 document()20 Doc* document() const { return m_document; } 21 22 private: 23 Doc* m_document; 24 }; 25 26 } // namespace app 27 28 #endif 29