1 /* This file is part of Shapes.
3 * Shapes is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 3 of the License, or
8 * Shapes is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
13 * You should have received a copy of the GNU General Public License
14 * along with Shapes. If not, see <http://www.gnu.org/licenses/>.
16 * Copyright 2008 Henrik Tidefelt
19 #include "shapescore.h"
22 using namespace Shapes
;
25 Kernel::registerClasses( Kernel::Environment
* env
)
27 env
->initDefineClass( Lang::THE_OBJECT
);
29 env
->initDefineClass( Lang::Class::TypeID
);
31 env
->initDefineClass( Lang::Void::TypeID
);
32 env
->initDefineClass( Lang::Symbol::TypeID
);
33 env
->initDefineClass( Lang::Float::TypeID
);
34 env
->initDefineClass( Lang::Length::TypeID
);
35 env
->initDefineClass( Lang::Integer::TypeID
);
36 env
->initDefineClass( Lang::Boolean::TypeID
);
37 env
->initDefineClass( Lang::String::TypeID
);
39 env
->initDefineClass( Lang::FloatPair::TypeID
);
40 env
->initDefineClass( Lang::Coords2D::TypeID
);
41 env
->initDefineClass( Lang::CornerCoords2D::TypeID
);
42 env
->initDefineClass( Lang::Path2D::TypeID
);
43 env
->initDefineClass( Lang::MultiPath2D::TypeID
);
45 env
->initDefineClass( Lang::FloatTriple::TypeID
);
46 env
->initDefineClass( Lang::Coords3D::TypeID
);
47 env
->initDefineClass( Lang::Path3D::TypeID
);
48 env
->initDefineClass( Lang::MultiPath3D::TypeID
);
50 env
->initDefineClass( Lang::Function::TypeID
);
51 env
->initDefineClass( Lang::Transform2D::TypeID
);
52 env
->initDefineClass( Lang::Transform3D::TypeID
);
54 env
->initDefineClass( Lang::Drawable2D::TypeID
);
55 env
->initDefineClass( Lang::Drawable3D::TypeID
);
56 env
->initDefineClass( Lang::Color::TypeID
);