diff options
| author | jhurst <jhurst@cinecert.com> | 2006-04-21 17:32:06 +0000 |
|---|---|---|
| committer | jhurst <> | 2006-04-21 17:32:06 +0000 |
| commit | 4e83acbf365d9b87dfdc95aef5c46785b33d2269 (patch) | |
| tree | ffb7c03653dae138339b79a5f52f4986061f4eb3 /src/KM_error.h | |
| parent | 34464c5616c053942cf7bdbb919bd8845cb0ceae (diff) | |
kumu merge
Diffstat (limited to 'src/KM_error.h')
| -rwxr-xr-x | src/KM_error.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/KM_error.h b/src/KM_error.h index 612a92c..ed171be 100755 --- a/src/KM_error.h +++ b/src/KM_error.h @@ -48,7 +48,11 @@ namespace Kumu Result_t(); public: - Result_t(long v, const char* l) : value(v), label(l) {} + static const Result_t& Find(long); + + Result_t(long v, const char* l); + ~Result_t(); + inline bool operator==(const Result_t& rhs) const { return value == rhs.value; } inline bool operator!=(const Result_t& rhs) const { return value != rhs.value; } inline bool Success() { return ( value >= 0 ); } |
