vfs: check userland buffers before reading them.
[haiku.git] / src / apps / debugger / user_interface / gui / util / TargetAddressTableColumn.h
blobce547b3dc4554909289a8070e8bb0a8680fc2bed
1 /*
2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef TARGET_ADDRESS_TABLE_COLUMN_H
6 #define TARGET_ADDRESS_TABLE_COLUMN_H
9 #include "table/TableColumns.h"
12 class TargetAddressTableColumn : public StringTableColumn {
13 public:
14 TargetAddressTableColumn(int32 modelIndex,
15 const char* title, float width,
16 float minWidth, float maxWidth,
17 uint32 truncate = B_TRUNCATE_MIDDLE,
18 alignment align = B_ALIGN_RIGHT);
20 protected:
21 virtual BField* PrepareField(const BVariant& value) const;
22 virtual int CompareValues(const BVariant& a,
23 const BVariant& b);
27 #endif // TARGET_ADDRESS_TABLE_COLUMN_H