From 63ea2492d1b7676d5aae7c9dd7912ca78159c321 Mon Sep 17 00:00:00 2001 From: dakkar Date: Sat, 26 Mar 2011 13:44:35 +0000 Subject: many more BrowserObjects --- lib/DeWeave/BO/Tab.pm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 lib/DeWeave/BO/Tab.pm (limited to 'lib/DeWeave/BO/Tab.pm') diff --git a/lib/DeWeave/BO/Tab.pm b/lib/DeWeave/BO/Tab.pm new file mode 100644 index 0000000..94f46b0 --- /dev/null +++ b/lib/DeWeave/BO/Tab.pm @@ -0,0 +1,26 @@ +package DeWeave::BO::Tab; +use Moose; +use namespace::autoclean; +use MooseX::Types::Moose qw(ArrayRef Str Int Undef); +use MooseX::Types::Structured qw(Dict Optional); + +extends 'DeWeave::EDO'; + +has clientName => ( + isa => Str, + required => 1, + is => 'ro', +); + +has tabs => ( + isa => ArrayRef[Dict[ + title => Undef|Str, + urlHistory => ArrayRef[Str], + icon => Undef|Str, + lastUsed => Int, + ]], + required => 1, + is => 'ro', +); + +1; -- cgit v1.2.3