27 lines
595 B
C++
27 lines
595 B
C++
|
#include "velib07.h"
|
||
|
#include "../ba/ba8500.h"
|
||
|
|
||
|
///////////////////////////////////////////////////////////
|
||
|
// TPeterParker_app
|
||
|
///////////////////////////////////////////////////////////
|
||
|
|
||
|
class TPeterParker_app : public TKlarkKent_app
|
||
|
{
|
||
|
protected:
|
||
|
virtual TReport* create_report(const char* name) const;
|
||
|
};
|
||
|
|
||
|
TReport* TPeterParker_app::create_report(const char* name) const
|
||
|
{
|
||
|
TDocument_report* rep = new TDocument_report;
|
||
|
rep->load(name);
|
||
|
return rep;
|
||
|
}
|
||
|
|
||
|
int ve1400(int argc, char* argv[])
|
||
|
{
|
||
|
TPeterParker_app app;
|
||
|
app.run(argc, argv, TR("Stampa Report Vendite"));
|
||
|
return 0;
|
||
|
}
|