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/FileAllocationCommand.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/FileAllocationCommand.h')
| -rw-r--r-- | src/FileAllocationCommand.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/FileAllocationCommand.h b/src/FileAllocationCommand.h index 7870d8d1..601c923c 100644 --- a/src/FileAllocationCommand.h +++ b/src/FileAllocationCommand.h @@ -36,18 +36,21 @@ #define _D_FILE_ALLOCATION_COMMAND_H_ #include "RealtimeCommand.h" +#include "SharedHandle.h" #include "TimeA2.h" +namespace aria2 { + class FileAllocationEntry; -typedef SharedHandle<FileAllocationEntry> FileAllocationEntryHandle; -class Exception; class FileAllocationCommand : public RealtimeCommand { private: - FileAllocationEntryHandle _fileAllocationEntry; + SharedHandle<FileAllocationEntry> _fileAllocationEntry; Time _timer; public: - FileAllocationCommand(int cuid, RequestGroup* requestGroup, DownloadEngine* e, const FileAllocationEntryHandle& fileAllocationEntry); + FileAllocationCommand(int cuid, RequestGroup* requestGroup, + DownloadEngine* e, + const SharedHandle<FileAllocationEntry>& fileAllocationEntry); virtual ~FileAllocationCommand(); @@ -56,4 +59,6 @@ public: virtual bool handleException(Exception* e); }; +} // namespace aria2 + #endif // _D_FILE_ALLOCATION_COMMAND_H_ |
