Files correlati : Ricompilazione Demo : [ ] Commento : Riportata la versione 2.1 598 git-svn-id: svn://10.65.10.50/trunk@13909 c028cbd2-c16b-5b4b-a496-9718f37d4682
		
			
				
	
	
		
			37 lines
		
	
	
		
			773 B
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			773 B
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
| #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;
 | |
| } |