Page MenuHomePhorge

formathelpers.h
No OneTemporary

Authored By
Unknown
Size
863 B
Referenced Files
None
Subscribers
None

formathelpers.h

#ifndef FORMATHELPERS_H
#define FORMATHELPERS_H
#include <kolab_export.h>
#include <string>
namespace Kolab {
enum FolderType {
MailType = 0,
ContactType,
EventType,
TaskType,
JournalType,
NoteType,
ConfigurationType,
FreebusyType,
FileType,
LastType
};
/**
* Returns the FolderType from a KOLAB_FOLDER_TYPE_* folder type string
*/
KOLAB_EXPORT FolderType folderTypeFromString( const std::string &folderTypeName );
/**
* Returns the annotation string for a folder
*/
KOLAB_EXPORT std::string folderAnnotation( FolderType type, bool isDefault = false );
/**
* Guesses the folder type from a user visible string
*/
KOLAB_EXPORT FolderType guessFolderTypeFromName( const std::string &name );
/**
* Returns a folder name for a type
*/
KOLAB_EXPORT std::string nameForFolderType( FolderType type );
}
#endif

File Metadata

Mime Type
text/x-c++
Expires
Apr 4 2026, 10:22 AM (4 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
e7/c6/46a5a2a66e624d5fe74bf70e820c
Default Alt Text
formathelpers.h (863 B)

Event Timeline