diff options
Diffstat (limited to 'bin/MakeProjectCreator/modules/Creator.pm')
-rw-r--r-- | bin/MakeProjectCreator/modules/Creator.pm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/MakeProjectCreator/modules/Creator.pm b/bin/MakeProjectCreator/modules/Creator.pm index 6b9e970f1e5..c4510ba9e2f 100644 --- a/bin/MakeProjectCreator/modules/Creator.pm +++ b/bin/MakeProjectCreator/modules/Creator.pm @@ -31,6 +31,7 @@ sub new { my($template) = shift; my($ti) = shift; my($relative) = shift; + my($progress) = shift; my($type) = shift; my($self) = Parser::new($class); @@ -43,6 +44,7 @@ sub new { $self->{'global_read'} = 0; $self->{'include_path'} = $inc; $self->{'current_input'} = ""; + $self->{'progress'} = $progress; return $self; } @@ -311,6 +313,12 @@ sub get_current_input { } +sub get_progress_callback { + my($self) = shift; + return $self->{'progress'}; +} + + # ************************************************************ # Virtual Methods To Be Overridden # ************************************************************ |