1 |
<?xml version="1.0"?> |
2 |
<waf:logic xmlns:waf="http://www.saurik.com/menes-waf/0.9"> |
3 |
|
4 |
<waf:include file="DecentralizedMedia.hh"/> |
5 |
|
6 |
<waf:set-status code="200"/> |
7 |
<waf:add-header name="Content-Type" value="text/html; charset=utf-8"/> |
8 |
|
9 |
DecentralizedMedia& media(*static_cast< DecentralizedMedia* >(& server)); |
10 |
|
11 |
<html> |
12 |
<head><title>Decentralized Media</title></head> |
13 |
<body> |
14 |
<h1>Decentralized Media</h1> |
15 |
<waf:logic> |
16 |
_foreach (const _L< MediaFile >, file, media.player.GetPlaylist()) |
17 |
{ |
18 |
<p>{file->path}</p> |
19 |
} |
20 |
</waf:logic> |
21 |
<p>$Id$</p> |
22 |
</body> |
23 |
</html> |
24 |
|
25 |
</waf:logic> |