summaryrefslogtreecommitdiff
path: root/include/mailutils/cpp/message.h
diff options
context:
space:
mode:
authorWojciech Polak <polak@gnu.org>2006-12-31 11:48:23 +0000
committerWojciech Polak <polak@gnu.org>2006-12-31 11:48:23 +0000
commit803a33529c3a992ff80994b446f669a8e987006b (patch)
tree95f31c499b7ca81e8705249df0605d25a46ca927 /include/mailutils/cpp/message.h
parentfb4ee3bdadf3b4954fb0b6b616bc67f82fac9c8d (diff)
downloadmailutils-803a33529c3a992ff80994b446f669a8e987006b.tar.gz
mailutils-803a33529c3a992ff80994b446f669a8e987006b.tar.bz2
Updated to the current API 1.0
Diffstat (limited to 'include/mailutils/cpp/message.h')
-rw-r--r--include/mailutils/cpp/message.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/include/mailutils/cpp/message.h b/include/mailutils/cpp/message.h
index bf294558c..1fc683fc6 100644
--- a/include/mailutils/cpp/message.h
+++ b/include/mailutils/cpp/message.h
@@ -1,6 +1,6 @@
/*
GNU Mailutils -- a suite of utilities for electronic mail
- Copyright (C) 2004 Free Software Foundation, Inc.
+ Copyright (C) 2004, 2006 Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -12,13 +12,14 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ You should have received a copy of the GNU Lesser General
+ Public License along with this library; if not, write to the
+ Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ Boston, MA 02110-1301 USA
*/
-#ifndef _MESSAGE_H
-#define _MESSAGE_H
+#ifndef _MUCPP_MESSAGE_H
+#define _MUCPP_MESSAGE_H
#include <mailutils/message.h>
#include <mailutils/cpp/header.h>
@@ -29,18 +30,18 @@ namespace mailutils
class Message
{
protected:
- message_t msg;
+ mu_message_t msg;
friend class Mailer;
public:
Message ();
- Message (const message_t);
+ Message (const mu_message_t);
- Header& GetHeader ();
+ Header& getHeader ();
};
}
-#endif // not _MESSAGE_H
+#endif // not _MUCPP_MESSAGE_H

Return to:

Send suggestions and report system problems to the System administrator.