X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fmoof%2Fevent.hh;fp=src%2Fmoof%2Fevent.hh;h=c717db49ea09b6acb3e7f0122afa688c091cccd6;hp=0000000000000000000000000000000000000000;hb=831f04d4bc19a390415ac0bbac4331c7a65509bc;hpb=299af4f2047e767e5d79501c26444473bda64c64 diff --git a/src/moof/event.hh b/src/moof/event.hh new file mode 100644 index 0000000..c717db4 --- /dev/null +++ b/src/moof/event.hh @@ -0,0 +1,40 @@ + +/*] Copyright (c) 2009-2010, Charles McGarvey [************************** +**] All rights reserved. +* +* vi:ts=4 sw=4 tw=75 +* +* Distributable under the terms and conditions of the 2-clause BSD license; +* see the file COPYING for a complete text of the license. +* +**************************************************************************/ + +#ifndef _MOOF_EVENT_HH_ +#define _MOOF_EVENT_HH_ + +/** + * \file event.hh + * Defines an event object. + */ + +#include + + +namespace moof { + + +/** + * The event handling in SDL is so big that it would take more time than + * it's worth to add an object-oriented abstraction layer that would + * completely cover what SDL has already layed down. Fortunately, SDL + * event structures are easy to work with, and it is not the purpose of + * this library to completely hide its dependencies or provide complete + * abstractions. + */ +typedef SDL_Event event; + + +} // namespace moof + +#endif // _MOOF_EVENT_HH_ +