| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package TUI::MsgBox;
|
|
2
|
2
|
|
|
2
|
|
4189
|
use strict;
|
|
|
2
|
|
|
|
|
2
|
|
|
|
2
|
|
|
|
|
77
|
|
|
3
|
2
|
|
|
2
|
|
7
|
use warnings;
|
|
|
2
|
|
|
|
|
3
|
|
|
|
2
|
|
|
|
|
135
|
|
|
4
|
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '2.0.0';
|
|
6
|
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=encoding utf8
|
|
8
|
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=head1 NAME
|
|
10
|
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
TUI::MsgBox - Message box utilities for the TUI::Vision framework
|
|
12
|
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
14
|
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
use TUI::MsgBox;
|
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
# Placeholder module.
|
|
18
|
|
|
|
|
|
|
# The full message box system will be migrated from TV::MsgBox.
|
|
19
|
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 DESCRIPTION
|
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
TUI::MsgBox provides message box and input box utilities for the
|
|
23
|
|
|
|
|
|
|
TUI::Vision framework. It corresponds to the Turbo Vision message box
|
|
24
|
|
|
|
|
|
|
subsystem and offers simple modal dialogs for displaying messages,
|
|
25
|
|
|
|
|
|
|
warnings, confirmations, and text prompts.
|
|
26
|
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
This module re-exported:
|
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=over 4
|
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=item * Const
|
|
32
|
|
|
|
|
|
|
Symbolic constants for message box types and button sets.
|
|
33
|
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=item * MsgBoxText
|
|
35
|
|
|
|
|
|
|
Functions such as C and C.
|
|
36
|
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=back
|
|
38
|
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
This stub does not implement any of these features yet.
|
|
40
|
|
|
|
|
|
|
It exists solely to reserve the namespace for the upcoming migration.
|
|
41
|
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 ROADMAP
|
|
43
|
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=over 4
|
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=item * Phase 2
|
|
47
|
|
|
|
|
|
|
Migration of TV::MsgBox::Const and TV::MsgBox::MsgBoxText.
|
|
48
|
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=item * Phase 3
|
|
50
|
|
|
|
|
|
|
Integration with TUI::Dialogs and TUI::Views.
|
|
51
|
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=item * Phase 4
|
|
53
|
|
|
|
|
|
|
Unified modal dialog API for TUI::Vision.
|
|
54
|
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=back
|
|
56
|
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head1 AUTHOR
|
|
58
|
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
J. Schneider
|
|
60
|
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=cut
|
|
62
|
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
1;
|