| 1 | package TUI::StdDlg; | ||
| 2 | # ABSTRACT: Standard dialog components for the TUI::Vision framework | ||
| 3 | |||
| 4 | 2 | ▶ | use 5.010; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 2 | our $VERSION = '2.000002'; | |
| 9 | 2 | $VERSION =~ tr/_//d; | |
| 10 | 2 | our $AUTHORITY = 'cpan:BRICKPOOL'; | |
| 11 | |||
| 12 | 2 | ▶ | use Import::Into; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | |||
| 14 | 2 | ▶ | use TUI::StdDlg::Const; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | 2 | ▶ | use TUI::StdDlg::ChDirDialog; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 16 | 2 | ▶ | use TUI::StdDlg::Dir; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 17 | 2 | ▶ | use TUI::StdDlg::DirCollection; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | 2 | ▶ | use TUI::StdDlg::DirEntry; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | 2 | ▶ | use TUI::StdDlg::DirListBox; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 20 | 2 | ▶ | use TUI::StdDlg::Dos; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 21 | 2 | ▶ | use TUI::StdDlg::Util; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 22 | 2 | ▶ | use TUI::StdDlg::FileCollection; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 23 | 2 | ▶ | use TUI::StdDlg::FileDialog; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 24 | 2 | ▶ | use TUI::StdDlg::FileInfoPane; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 25 | 2 | ▶ | use TUI::StdDlg::FileInputLine; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 26 | 2 | ▶ | use TUI::StdDlg::FileList; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 27 | 2 | ▶ | use TUI::StdDlg::SortedListBox; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 28 | |||
| 29 | 3 | ▶ | sub import { |
|
Subroutine
import: called CC=1 SCAR=0.0
| |||
| 30 | 3 | my $target = caller; | |
| 31 | 3 | TUI::StdDlg::Const->import::into( $target, qw( :all ) ); | |
| 32 | 3 | TUI::StdDlg::Dos->import::into( $target, qw( /\S+/ ) ); | |
| 33 | 3 | TUI::StdDlg::Dir->import::into( $target, qw( /\S+/ ) ); | |
| 34 | 3 | TUI::StdDlg::Util->import::into( $target, qw( /\S+/ ) ); | |
| 35 | 3 | TUI::StdDlg::ChDirDialog->import::into( $target ); | |
| 36 | 3 | TUI::StdDlg::DirCollection->import::into( $target ); | |
| 37 | 3 | TUI::StdDlg::DirEntry->import::into( $target ); | |
| 38 | 3 | TUI::StdDlg::DirListBox->import::into( $target ); | |
| 39 | 3 | TUI::StdDlg::FileCollection->import::into( $target ); | |
| 40 | 3 | TUI::StdDlg::FileDialog->import::into( $target ); | |
| 41 | 3 | TUI::StdDlg::FileInfoPane->import::into( $target ); | |
| 42 | 3 | TUI::StdDlg::FileInputLine->import::into( $target ); | |
| 43 | 3 | TUI::StdDlg::FileList->import::into( $target ); | |
| 44 | 3 | TUI::StdDlg::SortedListBox->import::into( $target ); | |
| 45 | } | ||
| 46 | |||
| 47 | 0 | ▶ | sub unimport { |
|
Subroutine
unimport: not called CC=1 SCAR=6.9
| |||
| 48 | 0 | my $caller = caller; | |
| 49 | 0 | TUI::StdDlg::Const->unimport::out_of( $caller ); | |
| 50 | 0 | TUI::StdDlg::Dos->unimport::out_of( $caller ); | |
| 51 | 0 | TUI::StdDlg::Dir->unimport::out_of( $caller ); | |
| 52 | 0 | TUI::StdDlg::Util->unimport::out_of( $caller ); | |
| 53 | 0 | TUI::StdDlg::ChDirDialog->unimport::out_of( $caller ); | |
| 54 | 0 | TUI::StdDlg::DirCollection->unimport::out_of( $caller ); | |
| 55 | 0 | TUI::StdDlg::DirEntry->unimport::out_of( $caller ); | |
| 56 | 0 | TUI::StdDlg::DirListBox->unimport::out_of( $caller ); | |
| 57 | 0 | TUI::StdDlg::FileCollection->unimport::out_of( $caller ); | |
| 58 | 0 | TUI::StdDlg::FileDialog->unimport::out_of( $caller ); | |
| 59 | 0 | TUI::StdDlg::FileInfoPane->unimport::out_of( $caller ); | |
| 60 | 0 | TUI::StdDlg::FileInputLine->unimport::out_of( $caller ); | |
| 61 | 0 | TUI::StdDlg::FileList->unimport::out_of( $caller ); | |
| 62 | 0 | TUI::StdDlg::SortedListBox->unimport::out_of( $caller ); | |
| 63 | } | ||
| 64 | |||
| 65 | 2 | 1 | |
| 66 | |||
| 67 | __END__ | ||