Files correlati : mr0.exe mr1.exe mr2.exe Ricompilazione Demo : [ ] Commento : Bug 0000135 Implementare la gestione multilingua git-svn-id: svn://10.65.10.50/trunk@12087 c028cbd2-c16b-5b4b-a496-9718f37d4682
		
			
				
	
	
		
			38 lines
		
	
	
		
			610 B
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			610 B
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
| #include "mr2200.h"
 | |
| #include "mr2200a.h"
 | |
| 
 | |
| class TMSP_mask : public TPlanning_mask
 | |
| {
 | |
| public:
 | |
|   TMSP_mask();
 | |
|   virtual ~TMSP_mask() { }
 | |
| };
 | |
| 
 | |
| TMSP_mask::TMSP_mask()
 | |
|          : TPlanning_mask("mr2300a")
 | |
| {
 | |
| //  init();
 | |
| }
 | |
| 
 | |
| class TMSP_app : public TPlanning_app
 | |
| {
 | |
| protected:
 | |
|   virtual TPlanning_mask& mask() {return *_m;}
 | |
|   virtual bool create();
 | |
| };
 | |
| 
 | |
| bool TMSP_app::create()
 | |
| {
 | |
|   openfiles();
 | |
|   _m =  new TMSP_mask();
 | |
|   _m->field(F_MSCHEDULEPLAN).set("X");
 | |
|   return TSkeleton_application::create();
 | |
| }
 | |
| 
 | |
| int mr2300(int argc, char* argv[])
 | |
| {
 | |
|   TMSP_app a;
 | |
|   a.run(argc, argv, TR("Master Schedule Planning"));
 | |
|   return 0;
 | |
| }
 |