« Curie/Model/ViewOptions/Zoom/Percentage.pm
↑ Summary
Curie/ViewModel/ViewManager/Role/Document.pm »
| 1 | use Renard::Incunabula::Common::Setup; | ||
| 2 | package Renard::Curie::ViewModel::ViewManager; | ||
| 3 | # ABSTRACT: Manages the currently open views | ||
| 4 | $Renard::Curie::ViewModel::ViewManager::VERSION = '0.005'; | ||
| 5 | use Moo; | ||
| 6 | use Renard::Incunabula::Common::Types qw(InstanceOf Path FileUri PositiveInt PositiveOrZeroInt); | ||
| 7 | use Renard::Incunabula::Document::Types qw(DocumentModel ZoomLevel); | ||
| 8 | use Renard::Block::Format::PDF::Document; | ||
| 9 | |||
| 10 | use Glib::Object::Subclass | ||
| 11 | 'Glib::Object', | ||
| 12 | signals => { | ||
| 13 | 'document-changed' => { | ||
| 14 | param_types => [ | ||
| 15 | 'Glib::Scalar', # DocumentModel | ||
| 16 | ] | ||
| 17 | }, | ||
| 18 | 'update-view' => { | ||
| 19 | param_types => [ | ||
| 20 | 'Glib::Scalar', # View | ||
| 21 | ] | ||
| 22 | }, | ||
| 23 | }, | ||
| 24 | ; | ||
| 25 | |||
| 26 | |||
| 27 | with qw( | ||
| 28 | Renard::Curie::ViewModel::ViewManager::Role::Document | ||
| 29 | |||
| 30 | Renard::Curie::ViewModel::ViewManager::Role::ViewOptions | ||
| 31 | Renard::Curie::ViewModel::ViewManager::Role::GridView | ||
| 32 | Renard::Curie::ViewModel::ViewManager::Role::Zoom | ||
| 33 | |||
| 34 | Renard::Curie::ViewModel::ViewManager::Role::TTS | ||
| 35 | ); | ||
| 36 | |||
| 37 | 1; | ||
| 38 | |||
| 39 | __END__ |