kmail Library API Documentation

kmglobal.h

00001 /*  KMail Global Objects
00002  *
00003  *  These objects are all created in main.cpp during application start
00004  *  before anything else is done.
00005  *
00006  *  If you add anything here do not forget to define and create the
00007  *  object in main.cpp !
00008  *
00009  *  Author: Stefan Taferner <taferner@alpin.or.at>
00010  *
00011  *  removed almost everything: Sven Radej <radej@kde.org>
00012  */
00013 
00014 //this could all go int kmkernel.h
00015 #ifndef kmglobal_h
00016 #define kmglobal_h
00017 
00018 #include "kmkernel.h"
00019 
00020 typedef enum
00021 {
00022     FCNTL,
00023     procmail_lockfile,
00024     mutt_dotlock,
00025     mutt_dotlock_privileged,
00026     lock_none
00027 } LockType;
00028 
00029 /*
00030  * Define the possible units to use for measuring message expiry.
00031  * expireNever is used to switch off message expiry, and expireMaxUnits
00032  * must always be the last in the list (for bounds checking).
00033  */
00034 typedef enum {
00035   expireNever,
00036   expireDays,
00037   expireWeeks,
00038   expireMonths,
00039   expireMaxUnits
00040 } ExpireUnits;
00041 
00042 /*
00043  * Enumeration to define when expiry occurs. The idea is for
00044  * expireDaily to happen each night, and expireWeekly each
00045  * week.
00046  */
00047 typedef enum {
00048   expireManual,
00049   expireAtExit,
00050   expireAtStart,
00051   expireDaily,
00052   expireWeekly
00053 } ExpireWhen;
00054 
00055 
00056 #define HDR_FROM     0x01
00057 #define HDR_REPLY_TO 0x02
00058 #define HDR_TO       0x04
00059 #define HDR_CC       0x08
00060 #define HDR_BCC      0x10
00061 #define HDR_SUBJECT  0x20
00062 #define HDR_NEWSGROUPS  0x40
00063 #define HDR_FOLLOWUP_TO 0x80
00064 #define HDR_IDENTITY 0x100
00065 #define HDR_TRANSPORT 0x200
00066 #define HDR_FCC       0x400
00067 #define HDR_DICTIONARY 0x800
00068 #define HDR_ALL      0xfff
00069 
00070 #define HDR_STANDARD (HDR_SUBJECT|HDR_TO|HDR_CC)
00071 
00072 
00074 extern const char* aboutText;
00075 #endif
KDE Logo
This file is part of the documentation for kmail Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat May 1 11:37:28 2004 by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2003