| 1 | use Renard::Incunabula::Common::Setup; | ||
| 2 | package Renard::Curie::Component::Role::HasParentMainWindow; | ||
| 3 | # ABSTRACT: Role that links a component to the parent main window | ||
| 4 | $Renard::Curie::Component::Role::HasParentMainWindow::VERSION = '0.005'; | ||
| 5 | use Moo::Role; | ||
| 6 | use Renard::Incunabula::Common::Types qw(InstanceOf); | ||
| 7 | |||
| 8 | has main_window => ( | ||
| 9 | is => 'ro', | ||
| 10 | required => 1, | ||
| 11 | isa => InstanceOf['Renard::Curie::Component::MainWindow'], | ||
| 12 | ); | ||
| 13 | |||
| 14 | 1; | ||
| 15 | |||
| 16 | __END__ |