1
0
Fork 0

Expose package file size to Nasal.

This commit is contained in:
James Turner 2014-06-12 17:51:19 +01:00
parent 9604142d09
commit ee627b8652

View file

@ -239,7 +239,8 @@ void FGHTTPClient::postinit()
.member("catalog", &pkg::Package::catalog)
.method("install", &pkg::Package::install)
.method("uninstall", &f_package_uninstall)
.method("lprop", &pkg::Package::getLocalisedProp);
.method("lprop", &pkg::Package::getLocalisedProp)
.member("fileSize", &pkg::Package::fileSizeBytes);
typedef pkg::Install* (pkg::Install::*InstallCallback)
(const pkg::Install::Callback&);