diff options
Diffstat (limited to 'src/sound/sound.h')
-rw-r--r-- | src/sound/sound.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/sound/sound.h b/src/sound/sound.h index 2ed4199..20f459c 100644 --- a/src/sound/sound.h +++ b/src/sound/sound.h @@ -180,6 +180,18 @@ public: * \return return true on success */ virtual bool CacheMusic(const std::string &bFile); + + /** Function to check if sound effect file was cached. + * \param bSound - id of a sound effect file + * \return return true if the file was cached + */ + virtual bool IsCached(Sound bSound); + + /** Function called to check if music file was cached. + * \param bFile - file to check + * \return return true if the file was cached + */ + virtual bool IsCachedMusic(const std::string &bFile); /** Return if plugin is enabled * \return return true if plugin is enabled |