Commit 07ee4d21 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

add hash tables for is_public and journey edited bitmasks

parent 17ce3773
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
@@ -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(
		coordinates_by_station => sub {
			my %location;