campo-sirio/src/m770/773100.cpp
mtollari 1b14ec9415 Spostamento cartella sorgenti
git-svn-id: svn://10.65.10.50/branches/R_10_00@23236 c028cbd2-c16b-5b4b-a496-9718f37d4682
2016-09-09 13:59:02 +00:00

39 lines
734 B
C++
Executable File

// 773100 - Parametri di studio 770
#include <confapp.h>
class M73_App : public TConfig_application
{
public:
virtual bool user_create();
virtual bool firm_change_enabled() const;
M73_App() : TConfig_application(CONFIG_STUDIO) {}
virtual ~M73_App() {}
};
bool M73_App::user_create()
{
TString16 section;
const char* edit_mask = "773100a";
section = name();
section.cut(2);
// Forza EdMask in prassis.ini
TConfig cnf (CONFIG_STUDIO, section);
cnf.get("EdMask", section, -1, edit_mask);
return TRUE;
}
bool M73_App::firm_change_enabled() const
{
return FALSE;
}
int m73100 (int argc, char* argv[])
{
M73_App appc;
appc.run(argc, argv, "Parametri Modello 770");
return 0;
}