Expose package file size to Nasal.
This commit is contained in:
parent
9604142d09
commit
ee627b8652
1 changed files with 2 additions and 1 deletions
|
@ -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&);
|
||||
|
|
Loading…
Reference in a new issue