annotate include/track/media.h @ 65:26721c28bf22

*: avoid usage of (to|from)StdString in Qt5 (and probably Qt6 as well) these functions are only available (or even usable) if Qt and Minori were built with the *same standard headers*, which may not be the case in some circumstances. hence, we'll use our own conversion functions, which we probably should use anyway.
author Paper <mrpapersonic@gmail.com>
date Sun, 01 Oct 2023 23:26:35 -0400
parents fe719c109dbc
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