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
7
8
9#include <Referenceable.h>
10
11
12class LineDataSource : public BReferenceable {
13public:
14	virtual						~LineDataSource();
15
16	virtual	int32				CountLines() const = 0;
17	virtual	const char*			LineAt(int32 index) const = 0;
18	virtual int32				LineLengthAt(int32 index) const = 0;
19};
20
21
22#endif	// LINE_DATA_SOURCE_H
23