Aggiunti vuoti

git-svn-id: svn://10.65.10.50/trunk@4426 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
augusto 1997-05-28 07:43:55 +00:00
parent 5c471590cb
commit 5a31794872
4 changed files with 64 additions and 0 deletions

22
mg/mg2.cpp Executable file
View File

@ -0,0 +1,22 @@
#include <xvt.h>
#include <strings.h>
//
// Modulo di Gestione ???
#include "mg0.h"
#define usage "Error - usage : %s -{0|1|2|3|4|5|6|7|8|9}"
int main(int argc, char** argv)
{
int rt = -1;
const int r = (argc > 1) ? atoi(&argv[1][1]) : -1;
switch (r)
{
case 0: // gestione
default:
error_box(usage, argv[0]) ; break;
}
return rt ;
}

5
mg/mg2.h Executable file
View File

@ -0,0 +1,5 @@
#ifndef __MG2_H
#define __MG2_H
#endif // __MG2_H

27
mg/mg4.cpp Executable file
View File

@ -0,0 +1,27 @@
#include <xvt.h>
#include <strings.h>
//
// Modulo stampa inventario e libro giornale
#include "mg4.h"
#define usage "Error - usage : %s -{0|1|2|3|4|5|6|7|8|9}"
int main(int argc, char** argv)
{
int rt = -1;
const int r = (argc > 1) ? atoi(&argv[1][1]) : -1;
switch (r)
{
case 0:
//rt = mg4100(argc,argv) ; break; // stampa lista controllo movimenti
case 1:
//rt = mg4200(argc,argv) ; break; // stampa inventario
case 1:
//rt = mg4300(argc,argv) ; break; // stampa libro giornale
default:
error_box(usage, argv[0]) ; break;
}
return rt ;
}

10
mg/mg4.h Executable file
View File

@ -0,0 +1,10 @@
#ifndef __MG4_H
#define __MG4_H
// ******************************************
// Modulo stampa lista movimenti, inventario e libro giornale
int mg4100(int argc, char* argv[]);
int mg4200(int argc, char* argv[]);
int mg4300(int argc, char* argv[]);
#endif // __MG4_H