From: <vo...@us...> - 2007-12-16 20:26:36
|
Revision: 458 http://opde.svn.sourceforge.net/opde/?rev=458&view=rev Author: volca Date: 2007-12-16 12:26:39 -0800 (Sun, 16 Dec 2007) Log Message: ----------- Link service getter Modified Paths: -------------- trunk/proto/python/ServiceBinder.cpp Modified: trunk/proto/python/ServiceBinder.cpp =================================================================== --- trunk/proto/python/ServiceBinder.cpp 2007-12-16 20:25:42 UTC (rev 457) +++ trunk/proto/python/ServiceBinder.cpp 2007-12-16 20:26:39 UTC (rev 458) @@ -18,12 +18,14 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * - * $Id:$ + * $Id$ * *****************************************************************************/ #include "ServiceBinder.h" + #include "ConfigServiceBinder.h" +#include "LinkServiceBinder.h" namespace Opde { namespace Python { @@ -33,6 +35,7 @@ PyMethodDef ServiceBinder::msMethods[] = { {"ConfigService", getConfigService, METH_NOARGS}, + {"LinkService", getLinkService, METH_NOARGS}, {NULL, NULL}, }; @@ -40,6 +43,10 @@ return ConfigServiceBinder::create(); } + PyObject* ServiceBinder::getLinkService(PyObject* self, PyObject* args) { + return LinkServiceBinder::create(); + } + PyObject* ServiceBinder::init(PyObject* container) { PyObject* module = Py_InitModule(msName, msMethods); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |