~ubuntu-branches/ubuntu/quantal/aria2/quantal

« back to all changes in this revision

Viewing changes to src/OptionHandler.h

  • Committer: Bazaar Package Importer
  • Author(s): Kartik Mistry
  • Date: 2011-05-26 22:22:12 UTC
  • mfrom: (2.5.3 sid)
  • Revision ID: james.westby@ubuntu.com-20110526222212-8ck4ia81l227m44l
Tags: 1.11.2-1
* New upstream release
* debian/control:
  + Updated Standards-Version to 3.9.2
* debian/copyright:
  + Updated as per latest DEP-5 specification

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
#include <string>
41
41
#include <vector>
42
42
#include <iosfwd>
 
43
#include <functional>
43
44
 
44
45
#include "SharedHandle.h"
45
46
 
94
95
  virtual int getOptionID() const = 0;
95
96
 
96
97
  virtual void setOptionID(int id) = 0;
 
98
 
 
99
  // Returns true if option value should be erased from argv to
 
100
  // prevent it from appearing in the output of ps.
 
101
  virtual bool getEraseAfterParse() const = 0;
 
102
 
 
103
  virtual void setEraseAfterParse(bool eraseAfterParse) = 0;
97
104
};
98
105
 
99
106
class OptionHandlerNameLesser:public std::binary_function