2005-05-23 12:17:02 +00:00
|
|
|
#include <applicat.h>
|
2005-06-06 16:05:55 +00:00
|
|
|
#include "vereplib.h"
|
2005-05-23 12:17:02 +00:00
|
|
|
|
2005-10-13 13:15:38 +00:00
|
|
|
#include "../ba/ba8500.h"
|
2005-05-23 12:17:02 +00:00
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////
|
2005-10-13 13:15:38 +00:00
|
|
|
// TPeterParker_app
|
2005-05-23 12:17:02 +00:00
|
|
|
///////////////////////////////////////////////////////////
|
|
|
|
|
2005-10-13 13:15:38 +00:00
|
|
|
class TPeterParker_app : public TKlarkKent_app
|
2006-04-13 17:56:02 +00:00
|
|
|
|
2005-05-23 12:17:02 +00:00
|
|
|
{
|
|
|
|
protected:
|
2005-10-13 13:15:38 +00:00
|
|
|
virtual TReport* create_report(const char* name) const;
|
2005-05-23 12:17:02 +00:00
|
|
|
};
|
|
|
|
|
2005-10-13 13:15:38 +00:00
|
|
|
TReport* TPeterParker_app::create_report(const char* name) const
|
2005-05-23 12:17:02 +00:00
|
|
|
{
|
2005-10-13 13:15:38 +00:00
|
|
|
TDocument_report* rep = new TDocument_report;
|
|
|
|
rep->load(name);
|
|
|
|
return rep;
|
2005-05-23 12:17:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
int ve1400(int argc, char* argv[])
|
|
|
|
{
|
2005-10-13 13:15:38 +00:00
|
|
|
TPeterParker_app app;
|
2005-05-23 12:17:02 +00:00
|
|
|
app.run(argc, argv, TR("Stampa Report Vendite"));
|
|
|
|
return 0;
|
2005-09-19 12:45:16 +00:00
|
|
|
}
|