|
a/libupnpp/upnpavutils.hxx |
|
b/libupnpp/upnpavutils.hxx |
|
... |
|
... |
17 |
#ifndef _UPNPAVUTILS_HXX_INCLUDED_
|
17 |
#ifndef _UPNPAVUTILS_HXX_INCLUDED_
|
18 |
#define _UPNPAVUTILS_HXX_INCLUDED_
|
18 |
#define _UPNPAVUTILS_HXX_INCLUDED_
|
19 |
|
19 |
|
20 |
#include <string>
|
20 |
#include <string>
|
21 |
|
21 |
|
|
|
22 |
namespace UPnPP {
|
|
|
23 |
|
22 |
// Format milliseconds into H+:MM:SS
|
24 |
/** Format milliseconds into H+:MM:SS */
|
23 |
extern std::string upnpduration(int ms);
|
25 |
extern std::string upnpduration(int ms);
|
24 |
// hms to seconds
|
26 |
|
|
|
27 |
/** H+:MM:SS to seconds */
|
25 |
extern int upnpdurationtos(const std::string& dur);
|
28 |
extern int upnpdurationtos(const std::string& dur);
|
26 |
|
29 |
|
|
|
30 |
}
|
|
|
31 |
|
27 |
#endif /* _UPNPAVUTILS_HXX_INCLUDED_ */
|
32 |
#endif /* _UPNPAVUTILS_HXX_INCLUDED_ */
|