add hash tables for is_public and journey edited bitmasks
This commit is contained in:
parent
17ce377307
commit
07ee4d216a
1 changed files with 22 additions and 0 deletions
|
@ -168,6 +168,28 @@ sub startup {
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$self->attr(
|
||||||
|
account_public_mask => sub {
|
||||||
|
return {
|
||||||
|
status_intern => 0x01,
|
||||||
|
status_extern => 0x02,
|
||||||
|
status_comment => 0x04,
|
||||||
|
};
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
$self->attr(
|
||||||
|
journey_edit_mask => sub {
|
||||||
|
return {
|
||||||
|
sched_departure => 0x0001,
|
||||||
|
real_departure => 0x0002,
|
||||||
|
route => 0x0010,
|
||||||
|
sched_arrival => 0x0100,
|
||||||
|
real_arrival => 0x0200,
|
||||||
|
};
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
$self->attr(
|
$self->attr(
|
||||||
coordinates_by_station => sub {
|
coordinates_by_station => sub {
|
||||||
my %location;
|
my %location;
|
||||||
|
|
Loading…
Reference in a new issue