From e040065df0f1ae04ba7dc561ceef144da30cd58c Mon Sep 17 00:00:00 2001 From: Johnny Jacob Date: Tue, 1 Apr 2008 10:42:13 +0000 Subject: Mono Loader Camel.cs: Type cast. Fixes compile error. svn path=/trunk/; revision=35295 --- plugins/mono/Camel.cs | 24 ++++++++++++------------ plugins/mono/ChangeLog | 4 ++++ 2 files changed, 16 insertions(+), 12 deletions(-) (limited to 'plugins') diff --git a/plugins/mono/Camel.cs b/plugins/mono/Camel.cs index 97aa2f3fe3..4ad80e7012 100644 --- a/plugins/mono/Camel.cs +++ b/plugins/mono/Camel.cs @@ -392,18 +392,18 @@ namespace Camel { } public enum Tag { - NAME = 0x1400 + Arg.Tag.STR, - FULL_NAME = 0x1401 + Arg.Tag.STR, - STORE = 0x1402 + Arg.Tag.OBJ, - PERMANENTFLAGS = 0x1403 + Arg.Tag.INT, - TOTAL = 0x1404 + Arg.Tag.INT, - UNREAD = 0x1405 + Arg.Tag.INT, - DELETED = 0x1406 + Arg.Tag.INT, - JUNKED = 0x1407 + Arg.Tag.INT, - VISIBLE = 0x1408 + Arg.Tag.INT, - UID_ARRAY = 0x1409 + Arg.Tag.PTR, - INFO_ARRAY = 0x140a + Arg.Tag.PTR, // GPtrArray - PROPERTIES = 0x140b + Arg.Tag.PTR, // GSList of properties + NAME = (int) (0x1400 + Arg.Tag.STR), + FULL_NAME = (int) (0x1401 + Arg.Tag.STR), + STORE = (int) (0x1402 + Arg.Tag.OBJ), + PERMANENTFLAGS = (int) (0x1403 + Arg.Tag.INT), + TOTAL = (int) (0x1404 + Arg.Tag.INT), + UNREAD = (int) (0x1405 + Arg.Tag.INT), + DELETED = (int) (0x1406 + Arg.Tag.INT), + JUNKED = (int) (0x1407 + Arg.Tag.INT), + VISIBLE = (int) (0x1408 + Arg.Tag.INT), + UID_ARRAY = (int) (0x1409 + Arg.Tag.PTR), + INFO_ARRAY = (int) (0x140a + Arg.Tag.PTR), // GPtrArray + PROPERTIES = (int) (0x140b + Arg.Tag.PTR), // GSList of properties } [DllImport("camel-provider-1.2")] static extern IntPtr camel_folder_get_message(IntPtr o, string uid, ref CamelException ex); diff --git a/plugins/mono/ChangeLog b/plugins/mono/ChangeLog index e97fd60cbd..e6131ce552 100644 --- a/plugins/mono/ChangeLog +++ b/plugins/mono/ChangeLog @@ -1,3 +1,7 @@ +2008-04-01 Johnny Jacob + + * Camel.cs: Type cast. Fixes compile error. + 2008-03-19 Sankar P * mono-plugin.c: (epm_invoke), -- cgit