qwt-cmake/examples/stockchart/quotefactory.h
2018-08-02 11:01:31 -04:00

22 lines
309 B
C++

#ifndef _QUOTE_FACTORY_H_
#define _QUOTE_FACTORY_H_
#include <qwt_series_data.h>
class QuoteFactory
{
public:
enum Stock
{
BMW,
Daimler,
Porsche,
NumStocks
};
static QVector<QwtOHLCSample> samples2010( Stock );
static QString title( Stock );
};
#endif