xref: /haiku/headers/private/debugger/model/LineDataSource.h (revision 21258e2674226d6aa732321b6f8494841895af5f)
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 
12 class LineDataSource : public BReferenceable {
13 public:
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