[wpdev-commits] wolfpack/python pyaccount.cpp,1.37,1.38
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-08-22 12:37:48
|
Update of /cvsroot/wpdev/wolfpack/python In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9187/python Modified Files: pyaccount.cpp Log Message: E-Mail for accounts. Index: pyaccount.cpp =================================================================== RCS file: /cvsroot/wpdev/wolfpack/python/pyaccount.cpp,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** pyaccount.cpp 22 Aug 2004 02:29:52 -0000 1.37 --- pyaccount.cpp 22 Aug 2004 12:37:31 -0000 1.38 *************** *** 248,251 **** --- 248,254 ---- if ( !strcmp( name, "acl" ) ) return PyString_FromString( self->account->acl().latin1() ); + else if ( !strcmp( name, "email" ) ) { + return QString2Python( self->account->email() ); + } /* \rproperty account.name The name of this account. *************** *** 332,335 **** --- 335,344 ---- self->account->setAcl( PyString_AsString( value ) ); /* + \property account.email The E-Mail address associated with this account. + */ + else if ( !strcmp( name, "email" ) ) { + self->account->setEmail(Python2QString(value).latin1()); + } + /* \property account.multigems Indicates whether Multis should be sent as Worldgems to this account. */ |