Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
39
Src/Plugins/Library/ml_wire/ifc_podcast.h
Normal file
39
Src/Plugins/Library/ml_wire/ifc_podcast.h
Normal file
|
@ -0,0 +1,39 @@
|
|||
#ifndef NULLSOFT_ML_WIRE_IFC_PODCAST_H
|
||||
#define NULLSOFT_ML_WIRE_IFC_PODCAST_H
|
||||
|
||||
#include <bfc/dispatch.h>
|
||||
class ifc_podcast : public Dispatchable
|
||||
{
|
||||
protected:
|
||||
ifc_podcast() {}
|
||||
~ifc_podcast() {}
|
||||
public:
|
||||
//int GetUrl(wchar_t *str, size_t len);
|
||||
int GetTitle(wchar_t *str, size_t len);
|
||||
//int GetLink(wchar_t *str, size_t len);
|
||||
//int GetDescription(wchar_t *str, size_t len);
|
||||
size_t GetNumArticles();
|
||||
// TODO: ifc_article *EnumArticle(size_t i);
|
||||
|
||||
enum
|
||||
{
|
||||
IFC_PODCAST_GETURL = 0,
|
||||
IFC_PODCAST_GETTITLE = 1,
|
||||
IFC_PODCAST_GETLINK = 2,
|
||||
IFC_PODCAST_GETDESCRIPTION = 3,
|
||||
IFC_PODCAST_GETNUMARTICLES = 4,
|
||||
};
|
||||
};
|
||||
|
||||
inline int ifc_podcast::GetTitle(wchar_t *str, size_t len)
|
||||
{
|
||||
return _call(IFC_PODCAST_GETTITLE, (int)1, str, len);
|
||||
}
|
||||
|
||||
|
||||
inline size_t ifc_podcast::GetNumArticles()
|
||||
{
|
||||
return _call(IFC_PODCAST_GETNUMARTICLES, (size_t)0);
|
||||
}
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue