Panda3D
|
00001 // Filename: config_downloader.h 00002 // Created by: mike (19Mar00) 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 CONFIG_DOWNLOADER_H 00016 #define CONFIG_DOWNLOADER_H 00017 00018 #include "pandabase.h" 00019 #include "notifyCategoryProxy.h" 00020 #include "dconfig.h" 00021 #include "configVariableInt.h" 00022 #include "configVariableDouble.h" 00023 #include "configVariableBool.h" 00024 #include "configVariableString.h" 00025 #include "configVariableFilename.h" 00026 #include "configVariableList.h" 00027 00028 ConfigureDecl(config_downloader, EXPCL_PANDAEXPRESS, EXPTP_PANDAEXPRESS); 00029 NotifyCategoryDecl(downloader, EXPCL_PANDAEXPRESS, EXPTP_PANDAEXPRESS); 00030 00031 extern ConfigVariableInt downloader_byte_rate; 00032 extern ConfigVariableBool download_throttle; 00033 extern ConfigVariableDouble downloader_frequency; 00034 extern ConfigVariableInt downloader_timeout; 00035 extern ConfigVariableInt downloader_timeout_retries; 00036 00037 extern ConfigVariableDouble decompressor_step_time; 00038 extern ConfigVariableDouble extractor_step_time; 00039 extern ConfigVariableInt patcher_buffer_size; 00040 00041 extern ConfigVariableBool http_proxy_tunnel; 00042 extern ConfigVariableDouble http_connect_timeout; 00043 extern ConfigVariableDouble http_timeout; 00044 extern ConfigVariableInt http_skip_body_size; 00045 extern ConfigVariableDouble http_idle_timeout; 00046 extern ConfigVariableInt http_max_connect_count; 00047 00048 extern EXPCL_PANDAEXPRESS ConfigVariableInt tcp_header_size; 00049 00050 extern EXPCL_PANDAEXPRESS void init_libdownloader(); 00051 00052 #endif