btrfs: [] on the end of a struct field is a variable length array.
[haiku.git] / headers / private / debugger / model / LineDataSource.h
blob800a0e255bb78e13be2edf69d5b8686d66678905
1 /*
2 * Copyright 2014, Rene Gollent, rene@gollent.com.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef LINE_DATA_SOURCE_H
6 #define LINE_DATA_SOURCE_H
9 #include <Referenceable.h>
12 class LineDataSource : public BReferenceable {
13 public:
14 virtual ~LineDataSource();
16 virtual int32 CountLines() const = 0;
17 virtual const char* LineAt(int32 index) const = 0;
18 virtual int32 LineLengthAt(int32 index) const = 0;
22 #endif // LINE_DATA_SOURCE_H