2002-12-20 16:15:03 +00:00
|
|
|
#include <inst.h>
|
2003-02-27 11:37:52 +00:00
|
|
|
#include <modaut.h>
|
|
|
|
#include <tabutil.h>
|
2002-02-26 16:20:19 +00:00
|
|
|
#include "bainst.h"
|
|
|
|
#include "bainst11.h"
|
|
|
|
|
2003-02-27 11:37:52 +00:00
|
|
|
class TInstall_CE : public TInstallmodule_app
|
2002-02-26 16:20:19 +00:00
|
|
|
{
|
|
|
|
protected:
|
2003-02-27 11:37:52 +00:00
|
|
|
virtual bool load_default_data() const ;
|
|
|
|
virtual int module_number() const {return CEAUT;}
|
|
|
|
virtual bool post_installer() { return TRUE; }
|
2002-02-26 16:20:19 +00:00
|
|
|
|
|
|
|
public:
|
|
|
|
virtual ~TInstall_CE () {}
|
|
|
|
};
|
|
|
|
|
2003-02-27 11:37:52 +00:00
|
|
|
bool TInstall_CE::load_default_data() const
|
|
|
|
{
|
|
|
|
TTable cac("%CAC");
|
|
|
|
const bool empty = cac.first() != NOERR;
|
2002-02-26 16:20:19 +00:00
|
|
|
|
2003-02-27 11:37:52 +00:00
|
|
|
return empty;
|
2002-02-26 16:20:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
int bainst11(int argc, char** argv)
|
|
|
|
{
|
|
|
|
TInstall_CE app;
|
2003-02-27 11:37:52 +00:00
|
|
|
app.run(argc, argv);
|
2002-02-26 16:20:19 +00:00
|
|
|
return 0;
|
|
|
|
}
|