diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-06-09 14:21:10 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-06-09 14:21:10 +0000 |
| commit | d4dfb6c4a8cfb2262d19a291e53870bf98e2f82a (patch) | |
| tree | 1ceddfbeadcea0c5fd7873c5eeacb823f0f15550 /src/RealtimeCommand.h | |
| parent | b357fd39fcc9b05a0d7ef87b1594c0ebd67cfdfe (diff) | |
2010-06-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Made protected member variable private. Added accessor funcs.
* src/CheckIntegrityCommand.cc
* src/FileAllocationCommand.cc
* src/RealtimeCommand.h
Diffstat (limited to 'src/RealtimeCommand.h')
| -rw-r--r-- | src/RealtimeCommand.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/RealtimeCommand.h b/src/RealtimeCommand.h index 34b9f635..779e05cb 100644 --- a/src/RealtimeCommand.h +++ b/src/RealtimeCommand.h @@ -44,9 +44,19 @@ class DownloadEngine; class Exception; class RealtimeCommand : public Command { -protected: +private: RequestGroup* _requestGroup; DownloadEngine* _e; +protected: + DownloadEngine* getDownloadEngine() const + { + return _e; + } + + RequestGroup* getRequestGroup() const + { + return _requestGroup; + } public: RealtimeCommand(cuid_t cuid, RequestGroup* requestGroup, DownloadEngine* e); |
