src/primitives.h

changeset 1345
1e345ed80a1d
parent 1334
3ab821604a70
child 1347
7dd217202126
--- a/src/primitives.h	Sat Mar 24 23:46:25 2018 +0200
+++ b/src/primitives.h	Sun Mar 25 16:28:03 2018 +0300
@@ -40,6 +40,8 @@
 
 struct PrimitiveModel
 {
+	enum FilenameStyle { NewStyleName, LegacyStyleName };
+
 	enum Type
 	{
 		Circle,
@@ -56,7 +58,7 @@
 	QString typeName() const;
 	void generateBody(Model& model) const;
 	static QString typeName(Type type);
-	QString makeFileName() const;
+	QString makeFileName(FilenameStyle style) const;
 };
 
 class PrimitiveCategory : public QObject

mercurial