src/ldproject.h

Wed, 04 Mar 2015 15:37:21 +0200

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Wed, 04 Mar 2015 15:37:21 +0200
branch
projects
changeset 936
aee883858c90
child 937
d5a58674ccd1
permissions
-rw-r--r--

- commit work done on projects

#pragma once
#include "main.h"

using LDProjectPtr = QSharedPointer<class LDProject>;

class LDProject
{
public:
	LDProject (const LDProject&) = delete;
	~LDProject();

	bool save (const QString& filename);

	void operator= (const LDProject&) = delete;
	static LDProjectPtr LoadFromFile (const QString& filename);
	static LDProjectPtr NewProject();

private:
	QString m_filePath;
	QList<LDDocumentPtr> m_documents;
	LDProject();
};

mercurial