| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright 2009, Google Inc. | 2  * Copyright 2009, Google Inc. | 
| 3  * All rights reserved. | 3  * All rights reserved. | 
| 4  * | 4  * | 
| 5  * Redistribution and use in source and binary forms, with or without | 5  * Redistribution and use in source and binary forms, with or without | 
| 6  * modification, are permitted provided that the following conditions are | 6  * modification, are permitted provided that the following conditions are | 
| 7  * met: | 7  * met: | 
| 8  * | 8  * | 
| 9  *     * Redistributions of source code must retain the above copyright | 9  *     * Redistributions of source code must retain the above copyright | 
| 10  * notice, this list of conditions and the following disclaimer. | 10  * notice, this list of conditions and the following disclaimer. | 
| (...skipping 14 matching lines...) Expand all  Loading... | 
| 25  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 25  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 
| 26  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 26  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 
| 27  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 27  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 
| 28  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 28  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 
| 29  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 29  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 
| 30  */ | 30  */ | 
| 31 | 31 | 
| 32 | 32 | 
| 33 // This file declares the glue for FileRequest actions. | 33 // This file declares the glue for FileRequest actions. | 
| 34 | 34 | 
| 35 #ifndef EXPERIMENTAL_O3D_O3DPLUGIN_AUTOGEN_O3D_GLUE_ASYNC_LOADING_H_ | 35 #ifndef O3D_PLUGIN_CROSS_ASYNC_LOADING_H_ | 
| 36 #define EXPERIMENTAL_O3D_O3DPLUGIN_AUTOGEN_O3D_GLUE_ASYNC_LOADING_H_ | 36 #define O3D_PLUGIN_CROSS_ASYNC_LOADING_H_ | 
| 37 | 37 | 
| 38 #include "core/cross/callback.h" | 38 #include "core/cross/callback.h" | 
| 39 #include "core/cross/types.h" | 39 #include "core/cross/types.h" | 
| 40 | 40 | 
| 41 namespace o3d { | 41 namespace o3d { | 
| 42 class FileRequest; | 42 class FileRequest; | 
| 43 }  // namespace o3d | 43 }  // namespace o3d | 
| 44 | 44 | 
| 45 namespace glue { | 45 namespace glue { | 
| 46 namespace namespace_o3d { | 46 namespace namespace_o3d { | 
| (...skipping 10 matching lines...) Expand all  Loading... | 
| 57                           bool async); | 57                           bool async); | 
| 58 | 58 | 
| 59 // Starts downloading or reading the requested file, passing in a callback that | 59 // Starts downloading or reading the requested file, passing in a callback that | 
| 60 // will parse and incorporate the file upon success. | 60 // will parse and incorporate the file upon success. | 
| 61 void userglue_method_send(void *plugin_data, | 61 void userglue_method_send(void *plugin_data, | 
| 62                           FileRequest *request); | 62                           FileRequest *request); | 
| 63 }  // namespace class_FileRequest | 63 }  // namespace class_FileRequest | 
| 64 }  // namespace namespace_o3d | 64 }  // namespace namespace_o3d | 
| 65 }  // namespace glue | 65 }  // namespace glue | 
| 66 | 66 | 
| 67 #endif  // EXPERIMENTAL_O3D_O3DPLUGIN_AUTOGEN_O3D_GLUE_ASYNC_LOADING_H_ | 67 #endif  // O3D_PLUGIN_CROSS_ASYNC_LOADING_H_ | 
| OLD | NEW | 
|---|