1// Aseprite UI Library
2// Copyright (C) 2001-2013, 2015 David Capello
3//
4// This file is released under the terms of the MIT license.
5// Read LICENSE.txt for more information.
6
7#ifdef HAVE_CONFIG_H
8#include "config.h"
9#endif
10
11#include "ui/event.h"
12
13namespace ui {
14
15Event::Event(Component* source)
16 : m_source(source)
17{
18}
19
20Event::~Event()
21{
22}
23
24Component* Event::getSource()
25{
26 return m_source;
27}
28
29} // namespace ui
30