Panda3D
|
00001 // Filename: config_event.cxx 00002 // Created by: drose (14Dec99) 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 #include "config_event.h" 00016 #include "asyncTask.h" 00017 #include "asyncTaskChain.h" 00018 #include "asyncTaskManager.h" 00019 #include "asyncTaskPause.h" 00020 #include "asyncTaskSequence.h" 00021 #include "buttonEventList.h" 00022 #include "event.h" 00023 #include "eventHandler.h" 00024 #include "eventParameter.h" 00025 #include "genericAsyncTask.h" 00026 #include "pointerEventList.h" 00027 #include "pythonTask.h" 00028 00029 #include "dconfig.h" 00030 00031 Configure(config_event); 00032 NotifyCategoryDef(event, ""); 00033 NotifyCategoryDef(task, ""); 00034 00035 ConfigureFn(config_event) { 00036 AsyncTask::init_type(); 00037 AsyncTaskChain::init_type(); 00038 AsyncTaskManager::init_type(); 00039 AsyncTaskPause::init_type(); 00040 AsyncTaskSequence::init_type(); 00041 ButtonEventList::init_type(); 00042 PointerEventList::init_type(); 00043 Event::init_type(); 00044 EventHandler::init_type(); 00045 EventStoreValueBase::init_type(); 00046 EventStoreInt::init_type("EventStoreInt"); 00047 EventStoreDouble::init_type("EventStoreDouble"); 00048 EventStoreString::init_type("EventStoreString"); 00049 EventStoreWstring::init_type("EventStoreWstring"); 00050 EventStoreTypedRefCount::init_type(); 00051 GenericAsyncTask::init_type(); 00052 #ifdef HAVE_PYTHON 00053 PythonTask::init_type(); 00054 #endif 00055 00056 ButtonEventList::register_with_read_factory(); 00057 EventStoreInt::register_with_read_factory(); 00058 EventStoreDouble::register_with_read_factory(); 00059 EventStoreString::register_with_read_factory(); 00060 } 00061