Make UEFI boot-platform build again
[haiku.git] / headers / private / debugger / value / values / BoolValue.h
blobad82d7c3ab6c0a7e6350af2b2e47d3f8ef3dc9f4
1 /*
2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef BOOL_VALUE_H
6 #define BOOL_VALUE_H
9 #include "Value.h"
12 class BoolValue : public Value {
13 public:
14 BoolValue(bool value);
15 virtual ~BoolValue();
17 bool GetValue() const
18 { return fValue; }
20 virtual bool ToString(BString& _string) const;
21 virtual bool ToVariant(BVariant& _value) const;
23 virtual bool operator==(const Value& other) const;
25 private:
26 bool fValue;
30 #endif // BOOL_VALUE_H