| 1 | package Gapp::App::Widget::Traits::HasApp; | ||
| 2 | { | ||
| 3 | $Gapp::App::Widget::Traits::HasApp::VERSION = '0.007'; | ||
| 4 | } | ||
| 5 | |||
| 6 | use Moose::Role; | ||
| 7 | use MooseX::SemiAffordanceAccessor; | ||
| 8 | |||
| 9 | has 'app' => ( | ||
| 10 | is => 'rw', | ||
| 11 | isa => 'Gapp::App', | ||
| 12 | weak_ref => 1, | ||
| 13 | ); | ||
| 14 | |||
| 15 | |||
| 16 | package Gapp::Meta::Widget::Custom::Trait::HasApp; | ||
| 17 | { | ||
| 18 | $Gapp::Meta::Widget::Custom::Trait::HasApp::VERSION = '0.007'; | ||
| 19 | } | ||
| 20 | sub register_implementation { 'Gapp::Meta::Widget::Native::Trait::HasApp' }; | ||
| 21 | |||
| 22 | 1; | ||
| 23 | |||
| 24 | |||
| 25 | __END__ |