VMime
|
Public Types | |
enum | Types { TYPE_FLAGS } |
Public Member Functions | |
messageChangedEvent (shared_ptr< folder > folder, const Types type, const std::vector< int > &nums) | |
shared_ptr< folder > | getFolder () const |
Types | getType () const |
const std::vector< int > & | getNumbers () const |
void | dispatch (class messageChangedListener *listener) |
const char * | getClass () const |
Public Member Functions inherited from event | |
event () | |
virtual | ~event () |
Static Public Attributes | |
static const char * | EVENT_CLASS = "messageChangedEvent" |
Additional Inherited Members | |
Protected Member Functions inherited from object | |
object () | |
object (const object &) | |
object & | operator= (const object &) |
virtual | ~object () |
Event occuring on a message.
enum Types |
messageChangedEvent | ( | shared_ptr< folder > | folder, |
const Types | type, | ||
const std::vector< int > & | nums | ||
) |
void dispatch | ( | class messageChangedListener * | listener | ) |
Dispatch the event to the specified listener.
listener | listener to notify |
References messageChangedListener::messageChanged().
|
virtual |
Implements event.
References messageChangedEvent::EVENT_CLASS.
shared_ptr< folder > getFolder | ( | ) | const |
Return the folder in which messages have changed.
const std::vector< int > & getNumbers | ( | ) | const |
Return the numbers of the messages that have changed.
messageChangedEvent::Types getType | ( | ) | const |
Return the event type.
|
static |
Referenced by messageChangedEvent::getClass(), and folder::notifyEvent().