annotate include/track/media.h @ 64:fe719c109dbc

*: update 1. add media tracking ability, and it displays info on the `now playing` page 2. the `now playing` page now actually shows something 3. renamed every page class to be more accurate to what it is 4. ...
author Paper <mrpapersonic@gmail.com>
date Sun, 01 Oct 2023 23:15:43 -0400
parents
children 825506f0e221
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
64
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
1 #ifndef __track__media_h
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
2 #define __track__media_h
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
3 #include "core/filesystem.h"
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
4
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
5 namespace Track {
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
6 namespace Media {
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
7
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
8 Filesystem::Path GetCurrentPlaying();
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
9 std::string GetFileTitle(Filesystem::Path path);
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
10
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
11 } // namespace Media
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
12 } // namespace Track
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
13
fe719c109dbc *: update
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
14 #endif // __track__media_h