Panda3D
|
00001 // Filename: pt_Event.h 00002 // Created by: drose (26May00) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 #ifndef PT_EVENT_H 00016 #define PT_EVENT_H 00017 00018 #include "pandabase.h" 00019 00020 #include "event.h" 00021 00022 #include "pointerTo.h" 00023 00024 //////////////////////////////////////////////////////////////////// 00025 // Class : PT_Event 00026 // Description : A PointerTo<Event>. This is defined here solely we 00027 // can explicitly export the template class. 00028 //////////////////////////////////////////////////////////////////// 00029 00030 EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EVENT, EXPTP_PANDA_EVENT, PointerToBase<Event>) 00031 EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EVENT, EXPTP_PANDA_EVENT, PointerTo<Event>) 00032 EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EVENT, EXPTP_PANDA_EVENT, ConstPointerTo<Event>) 00033 00034 typedef PointerTo<Event> PT_Event; 00035 typedef ConstPointerTo<Event> CPT_Event; 00036 00037 // Tell GCC that we'll take care of the instantiation explicitly here. 00038 #ifdef __GNUC__ 00039 #pragma interface 00040 #endif 00041 00042 #endif