##// END OF EJS Templates
build fix.
build fix.

File last commit:

r719:05b8360d3351
r744:4a4cc4b22b41
Show More
chartconfig_p.h
45 lines | 753 B | text/x-c | CLexer
#ifndef CHARTCONFIG_H_
#define CHARTCONFIG_H_
#include "qchartglobal.h"
#include "qchartversion_p.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class ChartConfig {
private:
ChartConfig(){
#ifndef QT_NO_DEBUG
qDebug()<<"buildTime" << buildTime;
qDebug()<<"gitHead" << gitHead;
#endif
m_instance = this;
}
public:
static ChartConfig* instance(){
if(!m_instance){
m_instance= new ChartConfig();
}
return m_instance;
}
QString compilationTime(){
return buildTime;
}
QString compilationHead(){
return gitHead;
}
private:
static ChartConfig* m_instance;
};
ChartConfig* ChartConfig::m_instance=0;
#endif
QTCOMMERCIALCHART_END_NAMESPACE