~ubuntu-branches/ubuntu/maverick/freecad/maverick

« back to all changes in this revision

Viewing changes to src/Mod/Part/App/Part2DObjectPyImp.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Teemu Ikonen
  • Date: 2009-07-16 18:37:41 UTC
  • Revision ID: james.westby@ubuntu.com-20090716183741-oww9kcxqrk991i1n
Tags: upstream-0.8.2237
ImportĀ upstreamĀ versionĀ 0.8.2237

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
#include "PreCompiled.h"
 
3
 
 
4
#include "Mod/Part/App/Part2DObject.h"
 
5
 
 
6
// inclusion of the generated files (generated out of Part2DObjectPy.xml)
 
7
#include "Part2DObjectPy.h"
 
8
#include "Part2DObjectPy.cpp"
 
9
 
 
10
using namespace Part;
 
11
 
 
12
// returns a string which represents the object e.g. when printed in python
 
13
const char *Part2DObjectPy::representation(void) const
 
14
{
 
15
    return "<Part2DObject object>";
 
16
}
 
17
 
 
18
 
 
19
 
 
20
PyObject *Part2DObjectPy::getCustomAttributes(const char* /*attr*/) const
 
21
{
 
22
    return 0;
 
23
}
 
24
 
 
25
int Part2DObjectPy::setCustomAttributes(const char* /*attr*/, PyObject* /*obj*/)
 
26
{
 
27
    return 0; 
 
28
}
 
29
 
 
30