xref: /haiku/src/apps/debuganalyzer/gui/chart/ChartAxisLegendSource.h (revision bea425f17c6f0d1666d80a320c51f76713e0c596)
1 /*
2  * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef CHART_AXIS_LEGEND_SOURCE_H
6 #define CHART_AXIS_LEGEND_SOURCE_H
7 
8 #include <SupportDefs.h>
9 
10 
11 class ChartDataRange;
12 class ChartLegend;
13 
14 
15 class ChartAxisLegendSource {
16 public:
17 	virtual						~ChartAxisLegendSource();
18 
19 	virtual	int32				GetAxisLegends(const ChartDataRange& range,
20 									ChartLegend** legends, double* values,
21 									int32 maxLegends) = 0;
22 };
23 
24 
25 #endif	// CHART_AXIS_LEGEND_SOURCE_H
26