New upstream version 8.1.0
This commit is contained in:
24
fsck/source/modes/Mode.h
Normal file
24
fsck/source/modes/Mode.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#ifndef MODE_H_
|
||||
#define MODE_H_
|
||||
|
||||
#include <common/nodes/Node.h>
|
||||
#include <common/Common.h>
|
||||
|
||||
class Mode
|
||||
{
|
||||
public:
|
||||
virtual ~Mode() {}
|
||||
|
||||
/**
|
||||
* Executes the mode inside the calling thread.
|
||||
*
|
||||
* @return APPCODE_...
|
||||
*/
|
||||
virtual int execute() = 0;
|
||||
|
||||
protected:
|
||||
Mode() {}
|
||||
bool checkInvalidArgs(const StringMap* cfg);
|
||||
};
|
||||
|
||||
#endif /*MODE_H_*/
|
||||
Reference in New Issue
Block a user