33 lines
583 B
C++
33 lines
583 B
C++
|
#include <confapp.h>
|
||
|
|
||
|
class M73_App : public TConfig_application
|
||
|
{
|
||
|
public:
|
||
|
virtual bool user_create();
|
||
|
|
||
|
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;
|
||
|
}
|
||
|
|
||
|
int m73100 (int argc, char* argv[])
|
||
|
{
|
||
|
M73_App appc;
|
||
|
appc.run(argc, argv, "Parametri Modello 770");
|
||
|
return 0;
|
||
|
}
|