summaryrefslogtreecommitdiff
path: root/src/asset.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/asset.h')
-rw-r--r--src/asset.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/asset.h b/src/asset.h
index 7adf0090..a67af741 100644
--- a/src/asset.h
+++ b/src/asset.h
@@ -79,6 +79,8 @@ public:
/** @return the hash of this asset's file */
std::string hash (boost::function<void (float)> progress = 0) const;
+ void set_hash (std::string hash);
+
protected:
/** The most recent disk file used to read or write this asset; may be empty */