MoSync 3.3
MAP::GeoPointDataSource Class Reference

Abstract class for accessing GeoPoint data. More...

#include <MAP/GeoPointDataSource.h>

Inheritance diagram for MAP::GeoPointDataSource:
MAPUtil::Broadcaster< IGeoPointDataSourceListener > MAPUtil::IEnumerable< GeoPoint * >

List of all members.

Public Member Functions

 GeoPointDataSource ()
virtual ~GeoPointDataSource ()
virtual void refresh ()=0
virtual int size ()=0
virtual GeoPointgetItem (int index)=0
void setTitle (const char *title)
const char * getTitle () const
void addListener (IGeoPointDataSourceListener *listener)
void removeListener (IGeoPointDataSourceListener *listener)
Vector
< IGeoPointDataSourceListener * > * 
getListeners ()

Protected Member Functions

void onDataChanged ()
void onLoadComplete ()

Detailed Description

Abstract class for accessing GeoPoint data.


Constructor & Destructor Documentation

virtual MAP::GeoPointDataSource::~GeoPointDataSource ( ) [inline, virtual]

Member Function Documentation

virtual void MAP::GeoPointDataSource::refresh ( ) [pure virtual]
virtual int MAP::GeoPointDataSource::size ( ) [pure virtual]
virtual GeoPoint* MAP::GeoPointDataSource::getItem ( int  index) [pure virtual]
void MAP::GeoPointDataSource::setTitle ( const char *  title) [inline]
const char* MAP::GeoPointDataSource::getTitle ( ) const [inline]
void MAPUtil::Broadcaster< IGeoPointDataSourceListener >::addListener ( IGeoPointDataSourceListener *  listener) [inline, inherited]

Add a listener. Clients should call this to register for notification.

void MAPUtil::Broadcaster< IGeoPointDataSourceListener >::removeListener ( IGeoPointDataSourceListener *  listener) [inline, inherited]

Remove a listener. Clients should call this to unregister for notification.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines