Changeset 535
- Timestamp:
- 04/28/06 15:24:18 (3 years ago)
- Files:
-
- nepenthes/trunk/nepenthes-core/include/Makefile.am (modified) (2 diffs)
- nepenthes/trunk/nepenthes-core/include/Nepenthes.hpp (modified) (4 diffs)
- nepenthes/trunk/nepenthes-core/src/Makefile.am (modified) (2 diffs)
- nepenthes/trunk/nepenthes-core/src/Nepenthes.cpp (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
nepenthes/trunk/nepenthes-core/include/Makefile.am
r500 r535 13 13 EXTRA_DIST += DownloadManager.hpp DownloadHandler.hpp Download.hpp DownloadBuffer.hpp DownloadUrl.hpp DownloadCallback.hpp 14 14 EXTRA_DIST += EventManager.hpp EventHandler.hpp Event.hpp SubmitEvent.hpp SocketEvent.hpp 15 EXTRA_DIST += GeoLocationManager.hpp GeoLocationHandler.hpp GeoLocationCallback.hpp GeoLocationQuery.hpp GeoLocationResult.hpp GeoLocationResult.hpp16 15 EXTRA_DIST += LogManager.hpp LogHandler.hpp LogHandlerEntry.hpp FileLogger.hpp RingFileLogger.hpp ConsoleLogger.hpp 17 16 EXTRA_DIST += LuaFunctions.hpp LuaInterface.hpp … … 22 21 EXTRA_DIST += Packet.hpp 23 22 EXTRA_DIST += SubmitManager.hpp SubmitHandler.hpp 24 EXTRA_DIST += UploadManager.hpp UploadHandler.hpp UploadQuery.hpp UploadCallback.hpp UploadResult.hpp25 23 EXTRA_DIST += Utilities.hpp nepenthes/trunk/nepenthes-core/include/Nepenthes.hpp
r498 r535 109 109 class DNSManager; 110 110 class Message; 111 class GeoLocationManager;112 class UploadManager;113 111 114 112 … … 139 137 virtual DNSManager *getDNSMgr(); 140 138 141 #ifdef HAVE_GEOLOCATION142 virtual GeoLocationManager *getGeoMgr();143 #endif144 145 virtual UploadManager *getUploadMgr();146 147 139 virtual bool doLoop(); 148 140 virtual int32_t run(int32_t argc, char **argv); … … 156 148 DNSManager *m_DNSManager; 157 149 EventManager *m_EventManager; 158 #ifdef HAVE_GEOLOCATION159 GeoLocationManager *m_GeoLocationManager;160 #endif161 150 LuaInterface *m_Lua; 162 151 LogManager *m_LogManager; … … 165 154 SubmitManager *m_SubmitManager; 166 155 SocketManager *m_SocketManager; 167 UploadManager *m_UploadManager;168 156 Utilities *m_Utilities; 169 157 nepenthes/trunk/nepenthes-core/src/Makefile.am
r500 r535 16 16 nepenthes_SOURCES += DownloadManager.cpp DownloadHandler.cpp DownloadBuffer.cpp Download.cpp DownloadUrl.cpp 17 17 nepenthes_SOURCES += EventManager.cpp EventHandler.cpp 18 nepenthes_SOURCES += GeoLocationManager.cpp GeoLocationHandler.cpp GeoLocationQuery.cpp GeoLocationResult.cpp19 18 nepenthes_SOURCES += LogManager.cpp LogHandler.cpp ConsoleLogger.cpp FileLogger.cpp RingFileLogger.cpp 20 19 nepenthes_SOURCES += LuaFunctions.cpp LuaInterface.cpp … … 27 26 nepenthes_SOURCES += ShellcodeManager.cpp ShellcodeHandler.cpp 28 27 nepenthes_SOURCES += SubmitManager.cpp SubmitHandler.cpp 29 nepenthes_SOURCES += UploadManager.cpp UploadQuery.cpp UploadResult.cpp30 28 nepenthes_SOURCES += Utilities.cpp 31 29 nepenthes/trunk/nepenthes-core/src/Nepenthes.cpp
r505 r535 65 65 #include "DialogueFactoryManager.hpp" 66 66 #include "DNSManager.hpp" 67 #include "GeoLocationManager.hpp"68 #include "UploadManager.hpp"69 67 70 68 #include "Message.hpp" … … 97 95 m_DownloadManager = NULL; 98 96 m_EventManager = NULL; 99 #ifdef HAVE_GEOLOCATION100 m_GeoLocationManager = NULL;101 #endif102 97 m_LogManager = NULL; 103 98 m_ModuleManager = NULL; … … 142 137 if (m_DialogueFactoryManager != NULL) 143 138 delete m_DialogueFactoryManager; 144 145 #ifdef HAVE_GEOLOCATION146 if (m_GeoLocationManager != NULL)147 delete m_GeoLocationManager;148 #endif149 139 150 140 if (m_DNSManager != NULL) … … 412 402 m_EventManager = new EventManager(this); 413 403 414 #ifdef HAVE_GEOLOCATION415 m_GeoLocationManager = new GeoLocationManager(this);416 #endif417 418 m_UploadManager = new UploadManager(this);419 404 // m_Lua = new Lua 420 405 m_ModuleManager = new ModuleManager(this); … … 543 528 } 544 529 545 #ifdef HAVE_GEOLOCATION546 if (run == true )547 {548 run = m_GeoLocationManager->Init();549 }550 #endif551 552 530 if (run == true ) 553 531 { 554 532 run = m_DownloadManager->Init(); 555 533 m_DownloadManager->doList(); 556 }557 558 if (run == true )559 {560 run = m_UploadManager->Init();561 m_UploadManager->doList();562 534 } 563 535 … … 1116 1088 1117 1089 1118 #ifdef HAVE_GEOLOCATION1119 /**1120 * get the GeoLocationManager1121 *1122 * @return returns the GeoLocationManager1123 */1124 GeoLocationManager *Nepenthes::getGeoMgr()1125 {1126 return m_GeoLocationManager;1127 }1128 1129 #endif1130 1131 /**1132 * get the UploadManager1133 *1134 * @return returns the UploadManager1135 */1136 UploadManager *Nepenthes::getUploadMgr()1137 {1138 return m_UploadManager;1139 }1140 1090 1141 1091 /**
