diff options
| author | Vincent Richard <[email protected]> | 2004-10-21 15:05:47 +0000 |
|---|---|---|
| committer | Vincent Richard <[email protected]> | 2004-10-21 15:05:47 +0000 |
| commit | 2949fb51f13e1236d5c161f02e1c2c8541100e9f (patch) | |
| tree | 991edcf50483116ce83977a4d9e652de8c5328dc /src/messaging/folder.hpp | |
| parent | header class unit tests added (diff) | |
| download | vmime-2949fb51f13e1236d5c161f02e1c2c8541100e9f.tar.gz vmime-2949fb51f13e1236d5c161f02e1c2c8541100e9f.zip | |
Refactoring (see ChangeLog).
Diffstat (limited to 'src/messaging/folder.hpp')
| -rw-r--r-- | src/messaging/folder.hpp | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/messaging/folder.hpp b/src/messaging/folder.hpp index 574ac1b0..0e92d50c 100644 --- a/src/messaging/folder.hpp +++ b/src/messaging/folder.hpp @@ -37,6 +37,9 @@ namespace vmime { namespace messaging { +class store; + + /** Abstract representation of a folder in a message store. */ @@ -90,31 +93,31 @@ public: * * @return folder type (see folder::Types) */ - virtual const int type() = 0; + virtual const int getType() = 0; /** Return the flags of this folder. * * @return folder flags (see folder::Flags) */ - virtual const int flags() = 0; + virtual const int getFlags() = 0; /** Return the mode in which the folder has been open. * * @return folder opening mode (see folder::Modes) */ - virtual const int mode() const = 0; + virtual const int getMode() const = 0; /** Return the name of this folder. * * @return folder name */ - virtual const folder::path::component name() const = 0; + virtual const folder::path::component getName() const = 0; /** Return the fully qualified path name of this folder. * * @return absolute path of the folder */ - virtual const folder::path fullPath() const = 0; + virtual const folder::path getFullPath() const = 0; /** Open this folder. * @@ -297,13 +300,13 @@ public: * * @return the store object to which this folder is attached */ - virtual const class store& store() const = 0; + virtual const store* getStore() const = 0; /** Return a reference to the store to which this folder belongs. * * @return the store object to which this folder is attached */ - virtual class store& store() = 0; + virtual store* getStore() = 0; /** Possible fetchable objects. */ |
