Update of /cvsroot/mahogany/M/src/Python
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv3312/src/Python
Modified Files:
MailFolder.cpp-swig Message.cpp-swig Message.py-swig
Log Message:
regenerated with swig after recent changes
Index: MailFolder.cpp-swig
===================================================================
RCS file: /cvsroot/mahogany/M/src/Python/MailFolder.cpp-swig,v
retrieving revision 1.57
retrieving revision 1.58
diff -b -u -2 -r1.57 -r1.58
--- MailFolder.cpp-swig 6 Apr 2006 00:09:28 -0000 1.57
+++ MailFolder.cpp-swig 26 Jun 2006 23:29:54 -0000 1.58
@@ -2333,32 +2333,33 @@
#define SWIGTYPE_p_HeaderInfoList swig_types[3]
#define SWIGTYPE_p_MFolder swig_types[4]
-#define SWIGTYPE_p_MFolderType swig_types[5]
-#define SWIGTYPE_p_MLogCircle swig_types[6]
-#define SWIGTYPE_p_MObjectRC swig_types[7]
-#define SWIGTYPE_p_MailFolder swig_types[8]
-#define SWIGTYPE_p_MailFolderStatus swig_types[9]
-#define SWIGTYPE_p_Message swig_types[10]
-#define SWIGTYPE_p_MsgnoType swig_types[11]
-#define SWIGTYPE_p_Params swig_types[12]
-#define SWIGTYPE_p_Profile swig_types[13]
-#define SWIGTYPE_p_SearchCriterium swig_types[14]
-#define SWIGTYPE_p_Sequence swig_types[15]
-#define SWIGTYPE_p_ServerInfoEntry swig_types[16]
-#define SWIGTYPE_p_SortParams swig_types[17]
-#define SWIGTYPE_p_String swig_types[18]
-#define SWIGTYPE_p_SuspendFolderUpdates swig_types[19]
-#define SWIGTYPE_p_ThreadData swig_types[20]
-#define SWIGTYPE_p_ThreadParams swig_types[21]
-#define SWIGTYPE_p_Ticket swig_types[22]
-#define SWIGTYPE_p_UIdArray swig_types[23]
-#define SWIGTYPE_p_UIdType swig_types[24]
-#define SWIGTYPE_p_UserData swig_types[25]
-#define SWIGTYPE_p_char swig_types[26]
-#define SWIGTYPE_p_wxChar swig_types[27]
-#define SWIGTYPE_p_wxFontEncoding swig_types[28]
-#define SWIGTYPE_p_wxFrame swig_types[29]
-#define SWIGTYPE_p_wxWindow swig_types[30]
-static swig_type_info *swig_types[32];
-static swig_module_info swig_module = {swig_types, 31, 0, 0, 0, 0};
+#define SWIGTYPE_p_MFolderList swig_types[5]
+#define SWIGTYPE_p_MFolderType swig_types[6]
+#define SWIGTYPE_p_MLogCircle swig_types[7]
+#define SWIGTYPE_p_MObjectRC swig_types[8]
+#define SWIGTYPE_p_MailFolder swig_types[9]
+#define SWIGTYPE_p_MailFolderStatus swig_types[10]
+#define SWIGTYPE_p_Message swig_types[11]
+#define SWIGTYPE_p_MsgnoType swig_types[12]
+#define SWIGTYPE_p_Params swig_types[13]
+#define SWIGTYPE_p_Profile swig_types[14]
+#define SWIGTYPE_p_SearchCriterium swig_types[15]
+#define SWIGTYPE_p_Sequence swig_types[16]
+#define SWIGTYPE_p_ServerInfoEntry swig_types[17]
+#define SWIGTYPE_p_SortParams swig_types[18]
+#define SWIGTYPE_p_String swig_types[19]
+#define SWIGTYPE_p_SuspendFolderUpdates swig_types[20]
+#define SWIGTYPE_p_ThreadData swig_types[21]
+#define SWIGTYPE_p_ThreadParams swig_types[22]
+#define SWIGTYPE_p_Ticket swig_types[23]
+#define SWIGTYPE_p_UIdArray swig_types[24]
+#define SWIGTYPE_p_UIdType swig_types[25]
+#define SWIGTYPE_p_UserData swig_types[26]
+#define SWIGTYPE_p_char swig_types[27]
+#define SWIGTYPE_p_wxChar swig_types[28]
+#define SWIGTYPE_p_wxFontEncoding swig_types[29]
+#define SWIGTYPE_p_wxFrame swig_types[30]
+#define SWIGTYPE_p_wxWindow swig_types[31]
+static swig_type_info *swig_types[33];
+static swig_module_info swig_module = {swig_types, 32, 0, 0, 0, 0};
#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module,
name)
#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module,
&swig_module, name)
@@ -3208,5 +3209,28 @@
-SWIGINTERN PyObject *_wrap_MailFolder_CloseAll(PyObject *SWIGUNUSEDPARM(self),
PyObject *args) {
+SWIGINTERN PyObject *_wrap_MailFolder_CloseAll__SWIG_0(PyObject
*SWIGUNUSEDPARM(self), PyObject *args) {
+ PyObject *resultobj = 0;
+ MFolderList *arg1 = (MFolderList *) 0 ;
+ int result;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ PyObject * obj0 = 0 ;
+
+ if (!PyArg_ParseTuple(args,(char *)"O:MailFolder_CloseAll",&obj0)) SWIG_fail;
+ res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MFolderList, 0 | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), "in method '"
"MailFolder_CloseAll" "', argument " "1"" of type '" "MFolderList *""'");
+ }
+ arg1 = reinterpret_cast<MFolderList * >(argp1);
+ result = (int)MailFolder::CloseAll(arg1);
+
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ return resultobj;
+fail:
+ return NULL;
+}
+
+
+SWIGINTERN PyObject *_wrap_MailFolder_CloseAll__SWIG_1(PyObject
*SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
int result;
@@ -3222,4 +3246,33 @@
+SWIGINTERN PyObject *_wrap_MailFolder_CloseAll(PyObject *self, PyObject *args)
{
+ int argc;
+ PyObject *argv[2];
+ int ii;
+
+ if (!PyTuple_Check(args)) SWIG_fail;
+ argc = PyObject_Length(args);
+ for (ii = 0; (ii < argc) && (ii < 1); ii++) {
+ argv[ii] = PyTuple_GET_ITEM(args,ii);
+ }
+ if (argc == 0) {
+ return _wrap_MailFolder_CloseAll__SWIG_1(self, args);
+ }
+ if (argc == 1) {
+ int _v;
+ void *vptr = 0;
+ int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_MFolderList, 0);
+ _v = SWIG_CheckState(res);
+ if (_v) {
+ return _wrap_MailFolder_CloseAll__SWIG_0(self, args);
+ }
+ }
+
+fail:
+ SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for
overloaded 'MailFolder_CloseAll'");
+ return NULL;
+}
+
+
SWIGINTERN PyObject *_wrap_MailFolder_PingAllOpened__SWIG_0(PyObject
*SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
@@ -8736,4 +8789,5 @@
static swig_type_info _swigt__p_HeaderInfoList = {"_p_HeaderInfoList",
"HeaderInfoList *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_MFolder = {"_p_MFolder", "MFolder *", 0, 0,
(void*)0, 0};
+static swig_type_info _swigt__p_MFolderList = {"_p_MFolderList", "MFolderList
*", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_MFolderType = {"_p_MFolderType", "MFolderType
*", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_MLogCircle = {"_p_MLogCircle", "MLogCircle *",
0, 0, (void*)0, 0};
@@ -8769,4 +8823,5 @@
&_swigt__p_HeaderInfoList,
&_swigt__p_MFolder,
+ &_swigt__p_MFolderList,
&_swigt__p_MFolderType,
&_swigt__p_MLogCircle,
@@ -8802,4 +8857,5 @@
static swig_cast_info _swigc__p_HeaderInfoList[] = {
{&_swigt__p_HeaderInfoList, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_MFolder[] = { {&_swigt__p_MFolder, 0, 0,
0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_MFolderList[] = { {&_swigt__p_MFolderList, 0,
0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_MFolderType[] = { {&_swigt__p_MFolderType, 0,
0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_MLogCircle[] = { {&_swigt__p_MLogCircle, 0,
0, 0},{0, 0, 0, 0}};
@@ -8835,4 +8891,5 @@
_swigc__p_HeaderInfoList,
_swigc__p_MFolder,
+ _swigc__p_MFolderList,
_swigc__p_MFolderType,
_swigc__p_MLogCircle,
Index: Message.cpp-swig
===================================================================
RCS file: /cvsroot/mahogany/M/src/Python/Message.cpp-swig,v
retrieving revision 1.36
retrieving revision 1.37
diff -b -u -2 -r1.36 -r1.37
--- Message.cpp-swig 6 Apr 2006 00:09:28 -0000 1.36
+++ Message.cpp-swig 26 Jun 2006 23:29:54 -0000 1.37
@@ -3752,5 +3752,5 @@
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Message, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '"
"Message_ExtractAddressesFromHeader" "', argument " "1"" of type '" "Message
*""'");
+ SWIG_exception_fail(SWIG_ArgError(res1), "in method '"
"Message_ExtractAddressesFromHeader" "', argument " "1"" of type '" "Message
const *""'");
}
arg1 = reinterpret_cast<Message * >(argp1);
@@ -3763,5 +3763,5 @@
}
arg2 = reinterpret_cast<wxArrayString * >(argp2);
- result = (arg1)->ExtractAddressesFromHeader(*arg2);
+ result = ((Message const *)arg1)->ExtractAddressesFromHeader(*arg2);
resultobj = SWIG_From_size_t(static_cast<size_t >(result));
@@ -4888,163 +4888,4 @@
-SWIGINTERN PyObject *_wrap_Message_GetFirstNameFromAddress(PyObject
*SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- String *arg1 = 0 ;
- String result;
- String tempstr1 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char
*)"O:Message_GetFirstNameFromAddress",&obj0)) SWIG_fail;
- {
- char * temps; int templ;
- if (PyString_AsStringAndSize(obj0, &temps, &templ)) return NULL;
- tempstr1 = String(temps, templ);
- arg1 = &tempstr1;
- }
- result = Message::GetFirstNameFromAddress((String const &)*arg1);
-
- resultobj = PyString_FromStringAndSize((&result)->data(),
(&result)->length());
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_Message_GetLastNameFromAddress(PyObject
*SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- String *arg1 = 0 ;
- String result;
- String tempstr1 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char
*)"O:Message_GetLastNameFromAddress",&obj0)) SWIG_fail;
- {
- char * temps; int templ;
- if (PyString_AsStringAndSize(obj0, &temps, &templ)) return NULL;
- tempstr1 = String(temps, templ);
- arg1 = &tempstr1;
- }
- result = Message::GetLastNameFromAddress((String const &)*arg1);
-
- resultobj = PyString_FromStringAndSize((&result)->data(),
(&result)->length());
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_Message_GetNameFromAddress(PyObject
*SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- String *arg1 = 0 ;
- String result;
- String tempstr1 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:Message_GetNameFromAddress",&obj0))
SWIG_fail;
- {
- char * temps; int templ;
- if (PyString_AsStringAndSize(obj0, &temps, &templ)) return NULL;
- tempstr1 = String(temps, templ);
- arg1 = &tempstr1;
- }
- result = Message::GetNameFromAddress((String const &)*arg1);
-
- resultobj = PyString_FromStringAndSize((&result)->data(),
(&result)->length());
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_Message_GetEMailFromAddress(PyObject
*SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- String *arg1 = 0 ;
- String result;
- String tempstr1 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:Message_GetEMailFromAddress",&obj0))
SWIG_fail;
- {
- char * temps; int templ;
- if (PyString_AsStringAndSize(obj0, &temps, &templ)) return NULL;
- tempstr1 = String(temps, templ);
- arg1 = &tempstr1;
- }
- result = Message::GetEMailFromAddress((String const &)*arg1);
-
- resultobj = PyString_FromStringAndSize((&result)->data(),
(&result)->length());
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_Message_CompareAddresses(PyObject
*SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- String *arg1 = 0 ;
- String *arg2 = 0 ;
- bool result;
- String tempstr1 ;
- String tempstr2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char
*)"OO:Message_CompareAddresses",&obj0,&obj1)) SWIG_fail;
- {
- char * temps; int templ;
- if (PyString_AsStringAndSize(obj0, &temps, &templ)) return NULL;
- tempstr1 = String(temps, templ);
- arg1 = &tempstr1;
- }
- {
- char * temps; int templ;
- if (PyString_AsStringAndSize(obj1, &temps, &templ)) return NULL;
- tempstr2 = String(temps, templ);
- arg2 = &tempstr2;
- }
- result = (bool)Message::CompareAddresses((String const &)*arg1,(String const
&)*arg2);
-
- resultobj = SWIG_From_bool(static_cast<bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_Message_FindAddress(PyObject *SWIGUNUSEDPARM(self),
PyObject *args) {
- PyObject *resultobj = 0;
- wxArrayString *arg1 = 0 ;
- String *arg2 = 0 ;
- int result;
- void *argp1 = 0 ;
- int res1 = 0 ;
- String tempstr2 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:Message_FindAddress",&obj0,&obj1))
SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxArrayString, 0 | 0);
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '"
"Message_FindAddress" "', argument " "1"" of type '" "wxArrayString const
&""'");
- }
- if (!argp1) {
- SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method
'" "Message_FindAddress" "', argument " "1"" of type '" "wxArrayString const
&""'");
- }
- arg1 = reinterpret_cast<wxArrayString * >(argp1);
- {
- char * temps; int templ;
- if (PyString_AsStringAndSize(obj1, &temps, &templ)) return NULL;
- tempstr2 = String(temps, templ);
- arg2 = &tempstr2;
- }
- result = (int)Message::FindAddress((wxArrayString const &)*arg1,(String
const &)*arg2);
-
- resultobj = SWIG_From_int(static_cast<int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
SWIGINTERN PyObject *Message_swigregister(PyObject *SWIGUNUSEDPARM(self),
PyObject *args) {
PyObject *obj;
@@ -5098,10 +4939,4 @@
{ (char *)"Message_FetchText", _wrap_Message_FetchText, METH_VARARGS,
NULL},
{ (char *)"Message_WriteToString", _wrap_Message_WriteToString,
METH_VARARGS, NULL},
- { (char *)"Message_GetFirstNameFromAddress",
_wrap_Message_GetFirstNameFromAddress, METH_VARARGS, NULL},
- { (char *)"Message_GetLastNameFromAddress",
_wrap_Message_GetLastNameFromAddress, METH_VARARGS, NULL},
- { (char *)"Message_GetNameFromAddress",
_wrap_Message_GetNameFromAddress, METH_VARARGS, NULL},
- { (char *)"Message_GetEMailFromAddress",
_wrap_Message_GetEMailFromAddress, METH_VARARGS, NULL},
- { (char *)"Message_CompareAddresses", _wrap_Message_CompareAddresses,
METH_VARARGS, NULL},
- { (char *)"Message_FindAddress", _wrap_Message_FindAddress,
METH_VARARGS, NULL},
{ (char *)"Message_swigregister", Message_swigregister, METH_VARARGS,
NULL},
{ NULL, NULL, 0, NULL }
Index: Message.py-swig
===================================================================
RCS file: /cvsroot/mahogany/M/src/Python/Message.py-swig,v
retrieving revision 1.34
retrieving revision 1.35
diff -b -u -2 -r1.34 -r1.35
--- Message.py-swig 6 Apr 2006 00:09:28 -0000 1.34
+++ Message.py-swig 26 Jun 2006 23:29:54 -0000 1.35
@@ -125,32 +125,8 @@
MSG_TYPEOTHER = _Message.Message_MSG_TYPEOTHER
MSG_TYPEINVALID = _Message.Message_MSG_TYPEINVALID
- __swig_getmethods__["GetFirstNameFromAddress"] = lambda x:
_Message.Message_GetFirstNameFromAddress
- if _newclass:GetFirstNameFromAddress =
staticmethod(_Message.Message_GetFirstNameFromAddress)
- __swig_getmethods__["GetLastNameFromAddress"] = lambda x:
_Message.Message_GetLastNameFromAddress
- if _newclass:GetLastNameFromAddress =
staticmethod(_Message.Message_GetLastNameFromAddress)
- __swig_getmethods__["GetNameFromAddress"] = lambda x:
_Message.Message_GetNameFromAddress
- if _newclass:GetNameFromAddress =
staticmethod(_Message.Message_GetNameFromAddress)
- __swig_getmethods__["GetEMailFromAddress"] = lambda x:
_Message.Message_GetEMailFromAddress
- if _newclass:GetEMailFromAddress =
staticmethod(_Message.Message_GetEMailFromAddress)
- __swig_getmethods__["CompareAddresses"] = lambda x:
_Message.Message_CompareAddresses
- if _newclass:CompareAddresses =
staticmethod(_Message.Message_CompareAddresses)
- __swig_getmethods__["FindAddress"] = lambda x: _Message.Message_FindAddress
- if _newclass:FindAddress = staticmethod(_Message.Message_FindAddress)
_Message.Message_swigregister(Message)
Message_Create = _Message.Message_Create
-Message_GetFirstNameFromAddress = _Message.Message_GetFirstNameFromAddress
-
-Message_GetLastNameFromAddress = _Message.Message_GetLastNameFromAddress
-
-Message_GetNameFromAddress = _Message.Message_GetNameFromAddress
-
-Message_GetEMailFromAddress = _Message.Message_GetEMailFromAddress
-
-Message_CompareAddresses = _Message.Message_CompareAddresses
-
-Message_FindAddress = _Message.Message_FindAddress
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates