Debugger: Split into core library and application.
- Add subfolder src/kits/debugger which contains the debugger's core functionality and lower layers. Correspondingly add headers/private/debugger for shared headers to be used by clients such as the Debugger application and eventual remote_debug_server. Adjust various files to account for differences as a result of the split and moves. - Add libdebugger.so to minimal Jamfile.
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* Copyright 2009, Ingo Weinhold, [email protected].
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef INTEGER_VALUE_H
|
||||
#define INTEGER_VALUE_H
|
||||
|
||||
|
||||
#include "Value.h"
|
||||
|
||||
|
||||
class IntegerValue : public Value {
|
||||
public:
|
||||
IntegerValue(const BVariant& value);
|
||||
virtual ~IntegerValue();
|
||||
|
||||
bool IsSigned() const;
|
||||
|
||||
int64 ToInt64() const
|
||||
{ return fValue.ToInt64(); }
|
||||
uint64 ToUInt64() const
|
||||
{ return fValue.ToUInt64(); }
|
||||
const BVariant& GetValue() const
|
||||
{ return fValue; }
|
||||
|
||||
virtual bool ToString(BString& _string) const;
|
||||
virtual bool ToVariant(BVariant& _value) const;
|
||||
|
||||
virtual bool operator==(const Value& other) const;
|
||||
|
||||
protected:
|
||||
BVariant fValue;
|
||||
};
|
||||
|
||||
|
||||
#endif // INTEGER_VALUE_H
|
||||
Reference in New Issue
Block a user