Index: import/cross/raw_data.h |
=================================================================== |
--- import/cross/raw_data.h (revision 20922) |
+++ import/cross/raw_data.h (working copy) |
@@ -46,6 +46,8 @@ |
#include "core/cross/param.h" |
#include "core/cross/types.h" |
+class FilePath; |
+ |
namespace o3d { |
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
@@ -58,6 +60,10 @@ |
const void *data, |
size_t length); |
+ static RawData::Ref CreateFromFile(ServiceLocator* service_locator, |
+ const String &uri, |
+ const String& filename); |
+ |
virtual ~RawData(); |
const uint8 *GetData() const; |
@@ -103,6 +109,8 @@ |
const void *data, |
size_t length); |
+ bool SetFromFile(const String& filename); |
+ |
friend class IClassManager; |
friend class Pack; |