Anope IRC Services  Version 2.0
Public Member Functions
NewsService Class Referenceabstract

#include <os_news.h>

Inheritance diagram for NewsService:
Inheritance graph
[legend]
Collaboration diagram for NewsService:
Collaboration graph
[legend]

Public Member Functions

 NewsService (Module *m)
 
virtual NewsItemCreateNewsItem ()=0
 
virtual void AddNewsItem (NewsItem *n)=0
 
virtual void DelNewsItem (NewsItem *n)=0
 
virtual std::vector< NewsItem * > & GetNewsList (NewsType t)=0
 
- Public Member Functions inherited from Service
 Service (Module *o, const Anope::string &t, const Anope::string &n)
 
virtual ~Service ()
 
void Register ()
 
void Unregister ()
 
- Public Member Functions inherited from Base
 Base ()
 
virtual ~Base ()
 
void AddReference (ReferenceBase *r)
 
void DelReference (ReferenceBase *r)
 

Additional Inherited Members

- Static Public Member Functions inherited from Service
static ServiceFindService (const Anope::string &t, const Anope::string &n)
 
static std::vector< Anope::stringGetServiceKeys (const Anope::string &t)
 
static void AddAlias (const Anope::string &t, const Anope::string &n, const Anope::string &v)
 
static void DelAlias (const Anope::string &t, const Anope::string &n)
 
- Data Fields inherited from Service
Moduleowner
 
Anope::string type
 
Anope::string name
 

Detailed Description

Definition at line 28 of file os_news.h.

Constructor & Destructor Documentation

NewsService::NewsService ( Module m)
inline

Definition at line 31 of file os_news.h.

Member Function Documentation

virtual void NewsService::AddNewsItem ( NewsItem n)
pure virtual

Implemented in MyNewsService.

virtual NewsItem* NewsService::CreateNewsItem ( )
pure virtual

Implemented in MyNewsService.

virtual void NewsService::DelNewsItem ( NewsItem n)
pure virtual

Implemented in MyNewsService.

virtual std::vector<NewsItem *>& NewsService::GetNewsList ( NewsType  t)
pure virtual

Implemented in MyNewsService.


The documentation for this class was generated from the following file: