Changed some CppcheckExecutor functions and variables protected and virtual.

This commit is contained in:
Reijo Tomperi 2009-09-23 22:27:07 +03:00
parent 46fabfd654
commit 832481b36e
1 changed files with 6 additions and 3 deletions

View File

@ -53,7 +53,7 @@ public:
* given value is returned instead of default 0.
* If no errors are found, 0 is returned.
*/
int check(int argc, const char* const argv[]);
virtual int check(int argc, const char* const argv[]);
/**
* Information about progress is directed here. This should be
@ -68,14 +68,17 @@ public:
virtual void reportStatus(unsigned int index, unsigned int max);
private:
protected:
/**
* Helper function to print out errors. Appends a line change.
* @param errmsg String printed to error stream
*/
void reportErr(const std::string &errmsg);
virtual void reportErr(const std::string &errmsg);
/**
* check() will setup this in the beginning of check().
*/
Settings _settings;
};