2 * Copyright 2014, Rene Gollent, rene@gollent.com.
3 * Distributed under the terms of the MIT License.
5 #ifndef LINE_DATA_SOURCE_H
6 #define LINE_DATA_SOURCE_H
9 #include <Referenceable.h>
12 class LineDataSource
: public BReferenceable
{
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