summaryrefslogtreecommitdiffstats
path: root/o3d/plugin/idl
diff options
context:
space:
mode:
Diffstat (limited to 'o3d/plugin/idl')
-rw-r--r--o3d/plugin/idl/archive_request.idl11
-rw-r--r--o3d/plugin/idl/file_request.idl3
2 files changed, 10 insertions, 4 deletions
diff --git a/o3d/plugin/idl/archive_request.idl b/o3d/plugin/idl/archive_request.idl
index 1633a46..ef87f3e 100644
--- a/o3d/plugin/idl/archive_request.idl
+++ b/o3d/plugin/idl/archive_request.idl
@@ -31,8 +31,11 @@
namespace o3d {
+[include="import/cross/archive_request.h", async]
+callback void ArchiveReadyStateChangeCallback();
+
[include="import/cross/archive_request.h"]
-callback void ArchiveRequestCallback();
+callback void ArchiveFileAvailableCallback(RawData rawData);
%[
An ArchiveRequest object is used to carry out an asynchronous request for a
@@ -87,14 +90,14 @@ callback void ArchiveRequestCallback();
A callback that gets called each time readyState changes.
%]
[setter]
- ArchiveRequestCallback? onreadystatechange;
+ ArchiveReadyStateChangeCallback? onreadystatechange;
%[
A callback that gets called each time a file fully downloads and becomes
available.
%]
[setter]
- ArchiveRequestCallback? onfileavailable;
+ ArchiveFileAvailableCallback? onfileavailable;
%[
The uri of the archive being downloaded.
@@ -104,6 +107,8 @@ callback void ArchiveRequestCallback();
%[
A RawData object representing the file that is currently available.
Note: This value is only valid inside the onfileavailable callback.
+ Note: This property is deprecated. It is now an argument of the
+ onfileavailable callback.
%]
[getter] RawData? data;
diff --git a/o3d/plugin/idl/file_request.idl b/o3d/plugin/idl/file_request.idl
index 5b1c9a3..0e64812 100644
--- a/o3d/plugin/idl/file_request.idl
+++ b/o3d/plugin/idl/file_request.idl
@@ -31,7 +31,8 @@
namespace o3d {
-[include="core/cross/file_request.h"] callback void FileRequestCallback();
+[include="core/cross/file_request.h", async]
+callback void FileRequestCallback();
%[
A FileRequest object is used to carry out an asynchronous request for a file