37 lines
773 B
C++
37 lines
773 B
C++
|
#include <applicat.h>
|
||
|
#include <report.h>
|
||
|
|
||
|
#include "../ba/ba8500.h"
|
||
|
|
||
|
///////////////////////////////////////////////////////////
|
||
|
// TReport_mag
|
||
|
///////////////////////////////////////////////////////////
|
||
|
|
||
|
class TReport_mag : public TReport
|
||
|
{
|
||
|
public:
|
||
|
};
|
||
|
|
||
|
///////////////////////////////////////////////////////////
|
||
|
// TStampa_mag
|
||
|
///////////////////////////////////////////////////////////
|
||
|
|
||
|
class TStampa_mag : public TKlarkKent_app
|
||
|
{
|
||
|
protected:
|
||
|
virtual TReport* create_report(const char* name) const;
|
||
|
};
|
||
|
|
||
|
TReport* TStampa_mag::create_report(const char* name) const
|
||
|
{
|
||
|
TReport_mag* rep = new TReport_mag;
|
||
|
rep->load(name);
|
||
|
return rep;
|
||
|
}
|
||
|
|
||
|
int mg3400(int argc, char* argv[])
|
||
|
{
|
||
|
TStampa_mag app;
|
||
|
app.run(argc, argv, TR("Stampa Report Magazzino"));
|
||
|
return 0;
|
||
|
}
|