diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-10-29 18:50:52 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-10-29 18:50:52 +0900 |
| commit | 7cba24e8b2ade4e14e4181bf0a5806966178bed0 (patch) | |
| tree | a84f0ac7243c923204e701ed7ecaf04c1b800c00 /src/AbstractOptionHandler.h | |
| parent | 0ba6f8c352da64db26907cbfa4ff9579700562e0 (diff) | |
Options for -i list is now available in aria2.changeOption.
Options for -i list, except for PREF_CHECKSUM, PREF_DIR, PREF_DRY_RUN,
PREF_INDEX_OUT, PREF_LOWEST_SPEED_LIMIT,
PREF_MAX_CONNECTION_PER_SERVER, PREF_METALINK_BASE_URI, PREF_OUT,
PREF_PIECE_LENGTH, PREF_SELECT_FILE, PREF_SPLIT, PREF_PAUSE and
PREF_PARAMETERIZED_URI, are available in aria2.changeOption if the
download is waiting state, including paused downloads.
Diffstat (limited to 'src/AbstractOptionHandler.h')
| -rw-r--r-- | src/AbstractOptionHandler.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/AbstractOptionHandler.h b/src/AbstractOptionHandler.h index 1c1dc7f0..f533bd66 100644 --- a/src/AbstractOptionHandler.h +++ b/src/AbstractOptionHandler.h @@ -66,6 +66,7 @@ protected: bool initialOption_; bool changeOption_; + bool changeOptionForReserved_; bool globalChangeOption_; bool cumulative_; @@ -154,6 +155,16 @@ public: changeOption_ = f; } + virtual bool getChangeOptionForReserved() const + { + return changeOptionForReserved_; + } + + virtual void setChangeOptionForReserved(bool f) + { + changeOptionForReserved_ = f; + } + virtual bool getChangeGlobalOption() const { return globalChangeOption_; |
