src/Primitives.h

changeset 641
425b169a82aa
parent 629
b75c6cce02e2
child 642
751a8df42842
equal deleted inserted replaced
640:d4dda62c6600 641:425b169a82aa
14 * 14 *
15 * You should have received a copy of the GNU General Public License 15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. 16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */ 17 */
18 18
19 #ifndef LDFORGE_PRIMITIVES_H 19 #pragma once
20 #define LDFORGE_PRIMITIVES_H
21
22 #include "Main.h" 20 #include "Main.h"
23 #include "Types.h" 21 #include "Types.h"
24 #include <QRegExp> 22 #include <QRegExp>
25 #include <QDialog> 23 #include <QDialog>
26 24
128 // Gets a primitive by the given specs. If the primitive cannot be found, it will 126 // Gets a primitive by the given specs. If the primitive cannot be found, it will
129 // be automatically generated. 127 // be automatically generated.
130 LDDocument* getPrimitive (PrimitiveType type, int segs, int divs, int num); 128 LDDocument* getPrimitive (PrimitiveType type, int segs, int divs, int num);
131 129
132 QString radialFileName (PrimitiveType type, int segs, int divs, int num); 130 QString radialFileName (PrimitiveType type, int segs, int divs, int num);
133
134 #endif // LDFORGE_PRIMITIVES_H

mercurial