diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2008-02-08 15:53:45 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2008-02-08 15:53:45 +0000 |
| commit | 1b7c1982896dba1d38e1fe84ba9660996607f5f9 (patch) | |
| tree | d12047cb37ded1e18d4d5b97844412538beb19ff /src/FillRequestGroupCommand.h | |
| parent | d82e183d346375ac8a58a298a58728be615f947e (diff) | |
2008-02-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Removed "using namespace std;" from all sources. Appended std::
prefix to c++
standard classes.
Included string.h where mem* function are used.
Diffstat (limited to 'src/FillRequestGroupCommand.h')
| -rw-r--r-- | src/FillRequestGroupCommand.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/FillRequestGroupCommand.h b/src/FillRequestGroupCommand.h index 167818d1..be34f265 100644 --- a/src/FillRequestGroupCommand.h +++ b/src/FillRequestGroupCommand.h @@ -36,16 +36,18 @@ #define _D_FILL_REQUEST_GROUP_COMMAND_H_ #include "Command.h" +#include "SharedHandle.h" #include "TimeA2.h" +#include <deque> + +namespace aria2 { class RequestGroup; -typedef SharedHandle<RequestGroup> RequestGroupHandle; -typedef deque<RequestGroupHandle> RequestGroups; class DownloadEngine; class FillRequestGroupCommand : public Command { private: - RequestGroups _reservedRequestGroups; + std::deque<SharedHandle<RequestGroup> > _reservedRequestGroups; DownloadEngine* _e; int32_t _interval; Time _checkPoint; @@ -62,4 +64,6 @@ public: } }; +} // namespace aria2 + #endif // _D_FILL_REQUEST_GROUP_COMMAND_H_ |
