all ones value for return failed now
This commit is contained in:
parent
6f4682e1c8
commit
5f16d30d82
@ -12,7 +12,8 @@ typedef uint16_t ReturnValue_t;
|
|||||||
class HasReturnvaluesIF {
|
class HasReturnvaluesIF {
|
||||||
public:
|
public:
|
||||||
static const ReturnValue_t RETURN_OK = 0;
|
static const ReturnValue_t RETURN_OK = 0;
|
||||||
static const ReturnValue_t RETURN_FAILED = 0xFFFF;
|
//! This will be the alll-ones value irrespective of used unsigned datatype.
|
||||||
|
static const ReturnValue_t RETURN_FAILED = -1;
|
||||||
virtual ~HasReturnvaluesIF() {}
|
virtual ~HasReturnvaluesIF() {}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user