1995-10-16 17:24:30 +00:00
|
|
|
#include <applicat.h>
|
|
|
|
#include <config.h>
|
|
|
|
#include <form.h>
|
|
|
|
#include <msksheet.h>
|
|
|
|
#include <prefix.h>
|
|
|
|
#include <relation.h>
|
|
|
|
#include <utility.h>
|
|
|
|
#include <urldefid.h>
|
|
|
|
|
|
|
|
class TForm_editor : public TApplication
|
|
|
|
{
|
1995-10-27 09:12:33 +00:00
|
|
|
TForm* _form;
|
|
|
|
TMask* _m;
|
1995-10-16 17:24:30 +00:00
|
|
|
bool _extra;
|
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual bool create();
|
|
|
|
virtual bool destroy();
|
|
|
|
virtual bool menu(MENU_TAG);
|
|
|
|
virtual void print();
|
|
|
|
|
|
|
|
static bool file_handler(TMask_field& f, KEY k);
|
|
|
|
static bool cod_handler(TMask_field&f, KEY k);
|
|
|
|
|
|
|
|
bool& extra() { return _extra;}
|
|
|
|
void set_form(TForm * f) { _form = f; }
|
1995-10-27 09:12:33 +00:00
|
|
|
bool ask_profile();
|
1995-10-16 17:24:30 +00:00
|
|
|
bool edit_relation();
|
|
|
|
bool edit(char s, pagetype p);
|
|
|
|
bool form_config() const;
|
|
|
|
public:
|
|
|
|
TForm_editor();
|
|
|
|
virtual ~TForm_editor();
|
|
|
|
};
|
|
|
|
|