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 #define HDR_FROM     0x01
00043 #define HDR_REPLY_TO 0x02
00044 #define HDR_TO       0x04
00045 #define HDR_CC       0x08
00046 #define HDR_BCC      0x10
00047 #define HDR_SUBJECT  0x20
00048 #define HDR_NEWSGROUPS  0x40
00049 #define HDR_FOLLOWUP_TO 0x80
00050 #define HDR_IDENTITY 0x100
00051 #define HDR_TRANSPORT 0x200
00052 #define HDR_FCC       0x400
00053 #define HDR_DICTIONARY 0x800
00054 #define HDR_ALL      0xfff
00055 
00056 #define HDR_STANDARD (HDR_SUBJECT|HDR_TO|HDR_CC)
00057 
00058 
00060 extern const char* aboutText;
00061 
00062 
00063 #endif
KDE Logo
This file is part of the documentation for kmail Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Aug 2 09:55:14 2007 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003