+ unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
This commit is contained in:
38
src/Mod/Robot/App/RobotObjectPyImp.cpp
Normal file
38
src/Mod/Robot/App/RobotObjectPyImp.cpp
Normal file
@@ -0,0 +1,38 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#include "Mod/Robot/App/RobotObject.h"
|
||||
|
||||
// inclusion of the generated files (generated out of RobotObjectPy.xml)
|
||||
#include "RobotObjectPy.h"
|
||||
#include "RobotObjectPy.cpp"
|
||||
|
||||
using namespace Robot;
|
||||
|
||||
// returns a string which represents the object e.g. when printed in python
|
||||
std::string RobotObjectPy::representation(void) const
|
||||
{
|
||||
return std::string("<RobotObject object>");
|
||||
}
|
||||
|
||||
|
||||
|
||||
PyObject* RobotObjectPy::getRobot(PyObject * /*args*/)
|
||||
{
|
||||
PyErr_SetString(PyExc_NotImplementedError, "Not yet implemented");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
PyObject *RobotObjectPy::getCustomAttributes(const char* /*attr*/) const
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int RobotObjectPy::setCustomAttributes(const char* /*attr*/, PyObject* /*obj*/)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user