A Fast Bresenham Type Algorithm For Drawing Ellipses by John Kennedy
[xy_vsfilter.git] / src / apps / mplayerc / ISDb.h
blob97ee0bc9a0d453cd7c6493495f73ae4136a16e7d
1 #pragma once
3 #include <atlcoll.h>
4 #include <afxinet.h>
5 #include "Playlist.h"
7 #define ISDb_PROTOCOL_VERSION 1
9 struct isdb_subtitle
11 int id, discs, disc_no;
12 CStringA name, format, language, iso639_2, nick, email;
13 struct isdb_subtitle() {reset();}
14 void reset() {id = discs = disc_no = 0; format = language = nick = email = "";}
17 struct isdb_movie
19 CAtlList<CStringA> titles;
20 CAtlList<isdb_subtitle> subs;
21 void reset() {titles.RemoveAll(); subs.RemoveAll();}
22 void operator = (const struct isdb_movie& m)
24 titles.RemoveAll();
25 titles.AddTailList(&m.titles);
26 subs.RemoveAll();
27 subs.AddTailList(&m.subs);
31 struct filehash {CString name; UINT64 size, hash;};
33 extern bool hash(LPCTSTR fn, filehash& fh);
34 extern void hash(CPlaylist& pl, CList<filehash>& fhs);
35 extern CStringA makeargs(CPlaylist& pl);
36 extern bool OpenUrl(CInternetSession& is, CString url, CStringA& str);