qt_demoe/third/qwtdemo/examples/stockchart/quotefactory.h

23 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