Files correlati : Ricompilazione Demo : [ ] Commento : riorganizzazione storica avis git-svn-id: svn://10.65.10.50/trunk@10590 c028cbd2-c16b-5b4b-a496-9718f37d4682
		
			
				
	
	
		
			31 lines
		
	
	
		
			556 B
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			556 B
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
#include <xvt.h>
 | 
						|
 | 
						|
#include <checks.h>
 | 
						|
 | 
						|
#include "at5.h"
 | 
						|
 | 
						|
#define usage "Error - usage : %s -[0|1|2|3|4]"
 | 
						|
 | 
						|
int main(int argc, char** argv)
 | 
						|
{
 | 
						|
  int rt = 0 ;
 | 
						|
  const int r = (argc > 1) ? atoi(&argv[1][1]) : -1;
 | 
						|
  
 | 
						|
  switch (r)
 | 
						|
  {
 | 
						|
  case 0:
 | 
						|
    rt = at5100(argc, argv); break;
 | 
						|
  case 1:
 | 
						|
    rt = at5200(argc, argv); break;
 | 
						|
  case 2:
 | 
						|
    rt = at5300(argc, argv); break;
 | 
						|
  //case 3:
 | 
						|
    //rt = at5400(argc, argv); break;
 | 
						|
  case 4:
 | 
						|
    rt = at5500(argc, argv); break;
 | 
						|
	default:
 | 
						|
    error_box(usage, argv[0]) ; rt = 1; break;                  
 | 
						|
  }
 | 
						|
  return rt;
 | 
						|
}
 |