Ristemato il parametro della funzione virtuale protected_record
git-svn-id: svn://10.65.10.50/trunk@310 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
6426742708
commit
042d09870f
@ -22,7 +22,7 @@ class BA3100_application : public TRelation_application
|
|||||||
|
|
||||||
bool user_create() ;
|
bool user_create() ;
|
||||||
bool user_destroy() ;
|
bool user_destroy() ;
|
||||||
virtual bool protected_record(const TRectype& rec);
|
virtual bool protected_record(TRectype& rec);
|
||||||
virtual TMask* get_mask( int mode) { return _msk;}
|
virtual TMask* get_mask( int mode) { return _msk;}
|
||||||
virtual bool changing_mask( int mode) { return FALSE;}
|
virtual bool changing_mask( int mode) { return FALSE;}
|
||||||
virtual TRelation* get_relation() const { return _rel;}
|
virtual TRelation* get_relation() const { return _rel;}
|
||||||
@ -89,7 +89,7 @@ void BA3100_application::init_modify_mode(TMask& m)
|
|||||||
m.send_key(K_SHIFT + K_CTRL + 'd' + enable, -GR_RECORD_PROTECTED);
|
m.send_key(K_SHIFT + K_CTRL + 'd' + enable, -GR_RECORD_PROTECTED);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool BA3100_application::protected_record(const TRectype& rec)
|
bool BA3100_application::protected_record(TRectype& rec)
|
||||||
{
|
{
|
||||||
bool prot = rec.get_bool(FPC);
|
bool prot = rec.get_bool(FPC);
|
||||||
if (!prot)
|
if (!prot)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user