2002-12-20 16:15:03 +00:00
|
|
|
|
1998-11-04 18:04:26 +00:00
|
|
|
#include <config.h>
|
2002-12-20 16:15:03 +00:00
|
|
|
#include <inst.h>
|
|
|
|
#include <modaut.h>
|
|
|
|
|
2002-04-26 10:47:22 +00:00
|
|
|
#include <tabutil.h>
|
1998-11-04 18:04:26 +00:00
|
|
|
|
|
|
|
#include "bainst.h"
|
|
|
|
#include "bainst32.h"
|
|
|
|
|
|
|
|
class TInstall_MG : public TInstallmodule_app
|
|
|
|
{
|
|
|
|
protected:
|
2002-04-26 10:47:22 +00:00
|
|
|
virtual bool load_default_data() const ;
|
2002-12-20 16:15:03 +00:00
|
|
|
virtual int module_number() const {return MGAUT;}
|
1999-10-22 10:00:18 +00:00
|
|
|
virtual bool post_installer();
|
1998-11-04 18:04:26 +00:00
|
|
|
|
|
|
|
public:
|
|
|
|
virtual ~TInstall_MG () {}
|
|
|
|
};
|
|
|
|
|
1999-10-22 10:00:18 +00:00
|
|
|
bool TInstall_MG::post_installer()
|
|
|
|
{
|
2002-12-20 16:15:03 +00:00
|
|
|
set_tab_app("mg0 -0");
|
|
|
|
return TRUE;
|
1999-10-22 10:00:18 +00:00
|
|
|
}
|
|
|
|
bool TInstall_MG::load_default_data() const
|
|
|
|
{
|
|
|
|
TTable cau("%CAU");
|
|
|
|
const bool empty = cau.first() != NOERR;
|
|
|
|
|
|
|
|
return empty;
|
|
|
|
}
|
|
|
|
|
1998-11-04 18:04:26 +00:00
|
|
|
int bainst32(int argc, char** argv)
|
|
|
|
{
|
|
|
|
TInstall_MG app;
|
|
|
|
app.run(argc, argv);
|
|
|
|
return 0;
|
|
|
|
}
|