Ricompilazione Demo : [ ] Commento : Riportata la versione 3.1 patch 848 git-svn-id: svn://10.65.10.50/trunk@14993 c028cbd2-c16b-5b4b-a496-9718f37d4682
		
			
				
	
	
		
			49 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			49 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
#include <confapp.h>
 | 
						|
 | 
						|
#include "vdconf.h"
 | 
						|
 | 
						|
class TConf_vendita_wst : public TConfig_application
 | 
						|
{
 | 
						|
public:
 | 
						|
  // @cmember Disabilita la verifica del modulo in chiave
 | 
						|
  virtual bool check_autorization() const  { return false; }
 | 
						|
 | 
						|
  virtual bool preprocess_config (TMask& mask, TConfig& config);
 | 
						|
  virtual bool postprocess_config (TMask& mask, TConfig& config);
 | 
						|
  virtual bool user_create( );
 | 
						|
  virtual bool user_destroy( );
 | 
						|
 | 
						|
  TConf_vendita_wst() : TConfig_application( CONFIG_WST ){ }
 | 
						|
  virtual ~TConf_vendita_wst( ){ }
 | 
						|
};
 | 
						|
 | 
						|
bool TConf_vendita_wst::preprocess_config (TMask& mask, TConfig& config)
 | 
						|
{
 | 
						|
  return true;
 | 
						|
}
 | 
						|
 | 
						|
bool TConf_vendita_wst::postprocess_config (TMask& mask, TConfig& config)
 | 
						|
{
 | 
						|
  return true;
 | 
						|
}
 | 
						|
 | 
						|
 | 
						|
bool TConf_vendita_wst::user_create( )
 | 
						|
{
 | 
						|
	TConfig conf(CONFIG_WST);
 | 
						|
 | 
						|
  conf.set( "EdMask", "vd0400a", "vd");
 | 
						|
  return true;
 | 
						|
}
 | 
						|
 | 
						|
bool TConf_vendita_wst::user_destroy( )
 | 
						|
{
 | 
						|
  return true;
 | 
						|
}
 | 
						|
 | 
						|
int vd0400(int argc, char* argv[])
 | 
						|
{
 | 
						|
  TConf_vendita_wst appc;
 | 
						|
  appc.run(argc, argv, TR("Parametri ditta vendita al banco"));
 | 
						|
  return 0;
 | 
						|
} |