MamdaNewsHandler is an interface for applications that want to have an easy way to handle news stories. More...
#include <MamdaNewsStoryHandler.h>
Public Member Functions | |
virtual void | onNewsStory (MamdaNewsManager &manager, const MamaMsg &msg, const MamdaNewsStory &story, void *closure)=0 |
Method invoked when a news story response is received. | |
virtual | ~MamdaNewsStoryHandler () |
MamdaNewsHandler is an interface for applications that want to have an easy way to handle news stories.
The interface defines callback methods for different types of news story events.
Instances of MamdaNewsStory do not survive beyond the onNewsStory() callback and should be copied if they need to be preserved beyond that callback.
|
virtual |
|
pure virtual |
Method invoked when a news story response is received.
manager | The MamdaNewsManager that is managing this news service. |
msg | The MamaMsg that triggered this invocation. |
story | The requested news story. |
closure | The closure argument to the story request. |