blip  0.1
AssetDirectory.hpp
Go to the documentation of this file.
1 #ifndef __blip__AssetDirectory_hpp
2 #define __blip__AssetDirectory_hpp
3 
4 #include <blip/Blip.hpp>
5 
6 #include <commonc++/String.h++>
7 
8 struct AAssetDir;
9 
10 namespace blip {
11 
12 class AssetManager;
13 
20 {
21  friend class AssetManager;
22 
23  public:
24 
27 
29  void rewind();
30 
36  ccxx::String nextFileName();
37 
38  private:
39 
40  AssetDirectory(AAssetDir* dir);
41 
42  AAssetDir* _dir;
43 
44  CCXX_COPY_DECLS(AssetDirectory);
45 };
46 
47 } // namespace blip
48 
49 #endif // __blip__AssetDirectory_hpp
ccxx::String nextFileName()
Get the next asset filename.
Definition: AssetDirectory.cpp:36
An asset manager, which provides access to the application&#39;s raw asset files.
Definition: AssetManager.hpp:34
~AssetDirectory()
Destructor.
Definition: AssetDirectory.cpp:20
An application asset directory.
Definition: AssetDirectory.hpp:19
void rewind()
Rewind the directory to the first entry.
Definition: AssetDirectory.cpp:28
WAV file format details at: https://ccrma.stanford.edu/courses/422/projects/WaveFormat/.
Definition: AccelerometerSensorEvent.cpp:3