|
VMime
|
#include <store.hpp>


Public Types | |
| enum | Capabilities { CAPABILITY_CREATE_FOLDER = (1 << 0) , CAPABILITY_RENAME_FOLDER = (1 << 1) , CAPABILITY_ADD_MESSAGE = (1 << 2) , CAPABILITY_COPY_MESSAGE = (1 << 3) , CAPABILITY_DELETE_MESSAGE = (1 << 4) , CAPABILITY_PARTIAL_FETCH = (1 << 5) , CAPABILITY_MESSAGE_FLAGS = (1 << 6) , CAPABILITY_EXTRACT_PART = (1 << 7) } |
Public Types inherited from service | |
| enum | Type { TYPE_STORE = 0 , TYPE_TRANSPORT } |
Protected Member Functions | |
| store (shared_ptr< session > sess, const serviceInfos &infos, shared_ptr< security::authenticator > auth) | |
Protected Member Functions inherited from service | |
| service (shared_ptr< session > sess, const serviceInfos &infos, shared_ptr< security::authenticator > auth) | |
Protected Member Functions inherited from object | |
| object () | |
| object (const object &) | |
| object & | operator= (const object &) |
| virtual | ~object () |
A store service.
Encapsulate protocols that provide access to user's mail drop.
Store capabilities.
|
protected |
Return the features supported by this service.
This is a combination of store::CAPABILITY_xxx flags.
Implemented in IMAPStore, maildirStore, and POP3Store.
|
pure virtual |
Return the default folder.
This is protocol dependent and usually is the INBOX folder.
Implemented in IMAPStore, maildirStore, and POP3Store.
|
pure virtual |
Return the folder specified by the path.
| path | absolute folder path |
Implemented in IMAPStore, maildirStore, and POP3Store.
|
pure virtual |
Return the root folder.
This is protocol dependent and usually is the user's mail drop root folder.
Implemented in IMAPStore, maildirStore, and POP3Store.
|
virtual |
|
pure virtual |
Test whether the specified folder name is a syntactically a valid name.
Implemented in IMAPStore, maildirStore, and POP3Store.
Referenced by IMAPFolder::create(), maildirFolder::create(), IMAPFolder::rename(), and maildirFolder::rename().