7 #define ISDb_PROTOCOL_VERSION 1
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
= "";}
19 CAtlList
<CStringA
> titles
;
20 CAtlList
<isdb_subtitle
> subs
;
21 void reset() {titles
.RemoveAll(); subs
.RemoveAll();}
22 void operator = (const struct isdb_movie
& m
)
25 titles
.AddTailList(&m
.titles
);
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
);