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

« back to all changes in this revision

Viewing changes to src/Mod/Sketcher/App/SketchObjectSFPyImp.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Adam C. Powell, IV
  • Date: 2010-01-11 08:48:33 UTC
  • mfrom: (3.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20100111084833-4g9vgdqbkw8u34zb
Tags: 0.9.2646.5-1
* New upstream version (closes: #561696).
* Added swig to Build-Depends (closes: #563523, #563772).
* Removed python-opencv from Build-Depends and Recommends (closes: #560768).

Show diffs side-by-side

added added

removed removed

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