File Coverage

blib/lib/Audio/Nama/Text.pm
Criterion Covered Total %
statement 21 31 67.7
branch 0 2 0.0
condition n/a
subroutine 7 43 16.2
pod 0 35 0.0
total 28 111 25.2


line stmt bran cond sub pod time code
1             # -------- Text Interface -----------
2             ## The following subroutines/methods belong to the Text interface class
3             ## the grammar of the command processor is defined in
4             # grammar_body.pl with subroutines in Grammar.p
5              
6             package Audio::Nama::Text;
7 1     1   5 use Modern::Perl; use Carp;
  1     1   1  
  1         6  
  1         125  
  1         3  
  1         52  
8 1     1   5 no warnings 'uninitialized';
  1         2  
  1         31  
9 1     1   5 use Audio::Nama::Globals qw(:all);
  1         1  
  1         443  
10 1     1   6 use Audio::Nama::Assign qw(:all);
  1         1  
  1         333  
11              
12             our @ISA = 'Audio::Nama';
13             our $VERSION = 1.071;
14              
15 0     0 0   sub hello {"hello world!";}
16              
17             sub loop {
18             package Audio::Nama;
19 0     0 0   initialize_prompt();
20             $Event::DIED = sub {
21 0     0     my ($event, $errmsg) = @_;
22 0           throw($errmsg);
23 0           $text->{term_attribs}->{line_buffer} = q();
24 0 0         if($text->{term}){
25 0           $text->{term}->clear_message();
26 0           $text->{term}->rl_reset_line_state();
27             }
28 0           };
29 1     1   6 use Data::Dumper::Concise;
  1         2  
  1         77  
30 0           Event::loop();
31             }
32              
33             ## NO-OP GRAPHIC METHODS
34              
35 1     1   5 no warnings qw(redefine);
  1         2  
  1         523  
36       0 0   sub init_gui {}
37       0 0   sub transport_gui {}
38       0 0   sub group_gui {}
39       0 0   sub track_gui {}
40       0 0   sub preview_button {}
41       0 0   sub create_master_and_mix_tracks {}
42       0 0   sub time_gui {}
43       0 0   sub refresh {}
44       0 0   sub refresh_group {}
45       0 0   sub refresh_track {}
46       0 0   sub flash_ready {}
47       0 0   sub update_master_version_button {}
48       0 0   sub update_version_button {}
49       0 0   sub paint_button {}
50       0 0   sub project_label_configure{}
51       0 0   sub length_display{}
52       0 0   sub clock_display {}
53       0 0   sub clock_config {}
54       0 0   sub manifest {}
55       0 0   sub global_version_buttons {}
56       0 0   sub destroy_widgets {}
57       0 0   sub destroy_marker {}
58       0 0   sub restore_time_marks {}
59       0 0   sub show_unit {}
60       0 0   sub add_effect_gui {}
61       0 0   sub remove_effect_gui {}
62       0 0   sub marker {}
63       0 0   sub init_palette {}
64       0 0   sub save_palette {}
65       0 0   sub paint_mute_buttons {}
66       0 0   sub remove_track_gui {}
67       0 0   sub reset_engine_mode_color_display {}
68       0 0   sub set_engine_mode_color_display {}
69              
70             1;
71             __END__