34 lines
511 B
C++
34 lines
511 B
C++
|
#include <applicat.h>
|
||
|
#include <reprint.h>
|
||
|
|
||
|
#include "ca1.h"
|
||
|
#include "calib02.h"
|
||
|
|
||
|
|
||
|
class TPrint_ca : public TSkeleton_application
|
||
|
{
|
||
|
public:
|
||
|
virtual void main_loop();
|
||
|
};
|
||
|
|
||
|
void TPrint_ca::main_loop()
|
||
|
{
|
||
|
TFilename path;
|
||
|
while (select_custom_file(path, "rep", "ca1100"))
|
||
|
{
|
||
|
TReport_book book;
|
||
|
TAnal_report rep;
|
||
|
rep.load(path);
|
||
|
book.add(rep);
|
||
|
book.print_or_preview();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
int ca1100(int argc, char* argv[])
|
||
|
{
|
||
|
TPrint_ca a;
|
||
|
a.run(argc, argv, TR("Stampa anagrafiche"));
|
||
|
return 0;
|
||
|
}
|
||
|
|