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/DHTPingMessage.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/DHTPingMessage.h')
| -rw-r--r-- | src/DHTPingMessage.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/DHTPingMessage.h b/src/DHTPingMessage.h index 16b5d8ab..62738683 100644 --- a/src/DHTPingMessage.h +++ b/src/DHTPingMessage.h @@ -37,11 +37,13 @@ #include "DHTQueryMessage.h" +namespace aria2 { + class DHTPingMessage:public DHTQueryMessage { public: - DHTPingMessage(const DHTNodeHandle& localNode, - const DHTNodeHandle& remoteNode, - const string& transactionID = ""); + DHTPingMessage(const SharedHandle<DHTNode>& localNode, + const SharedHandle<DHTNode>& remoteNode, + const std::string& transactionID = ""); virtual ~DHTPingMessage(); @@ -49,9 +51,11 @@ public: virtual Dictionary* getArgument(); - virtual string getMessageType() const; + virtual std::string getMessageType() const; virtual void validate() const; }; +} // namespace aria2 + #endif // _D_DHT_PING_MESSAGE_H_ |
