git://git.camperquake.de
/
videosite.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reimplement AsyncFileGetter
[videosite.git]
/
libvideosite.pm
diff --git
a/libvideosite.pm
b/libvideosite.pm
index
bf02068
..
f9959bf
100644
(file)
--- a/
libvideosite.pm
+++ b/
libvideosite.pm
@@
-78,6
+78,7
@@
my $remote_api = {
module_path => sub { return dirname(realpath($0)) },
quote => sub { return $_ },
reload => sub {},
module_path => sub { return dirname(realpath($0)) },
quote => sub { return $_ },
reload => sub {},
+ wait_for_child => sub {},
};
#
};
#
@@
-276,6
+277,7
@@
sub _ploader {
config_get => \&_config_get,
config_set => \&_config_set,
config_has => \&_config_has,
config_get => \&_config_get,
config_set => \&_config_set,
config_has => \&_config_has,
+ wait_for_child => $remote_api->{wait_for_child},
});
} else {
_io('%s has wrong type (got %s, expected %s)', $p, $g->{'TYPE'}, $type);
});
} else {
_io('%s has wrong type (got %s, expected %s)', $p, $g->{'TYPE'}, $type);