libkdepim
MailTransportServiceIface.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef MAILTRANSPORTSERVICEIFACE_H
00023 #define MAILTRANSPORTSERVICEIFACE_H
00024
00025 #include <dcopobject.h>
00026 #include <dcopref.h>
00027 #include <kurl.h>
00028 #include <qstring.h>
00029 #include <qcstring.h>
00030
00031 #include <kdepimmacros.h>
00032
00033 namespace KPim {
00034
00035 #define MailTransportServiceIface KDE_EXPORT MailTransportServiceIface
00036 class MailTransportServiceIface : virtual public DCOPObject
00037 #undef MailTransportServiceIface
00038 {
00039 K_DCOP
00040
00041 k_dcop:
00049 virtual bool sendMessage( const QString& from, const QString& to,
00050 const QString& cc, const QString& bcc,
00051 const QString& subject, const QString& body,
00052 const KURL::List& attachments ) = 0;
00053
00062 virtual bool sendMessage( const QString& from, const QString& to,
00063 const QString& cc, const QString& bcc,
00064 const QString& subject, const QString& body,
00065 const QByteArray& attachment ) = 0;
00066
00067 k_dcop_hidden:
00072
00073 virtual bool sendMessage( const QString& to,
00074 const QString& cc, const QString& bcc,
00075 const QString& subject, const QString& body,
00076 const KURL::List& attachments ) = 0;
00077
00082
00083 virtual bool sendMessage( const QString& to,
00084 const QString& cc, const QString& bcc,
00085 const QString& subject, const QString& body,
00086 const QByteArray& attachment ) = 0;
00087
00088 };
00089
00090 }
00091
00092 #endif // MAILTRANSPORTSERVICEIFACE_H
00093
|