blob: fab6bb42284dfdf73d9270d93b41e03ff395dff6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
// Copyright (C) 2016 Jochen Becher
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#pragma once
#include "qmt/infrastructure/uid.h"
#include <QString>
namespace qmt {
class MPackage;
class QMT_EXPORT Project
{
public:
Project();
~Project();
Uid uid() const { return m_uid; }
void setUid(const Uid &uid);
bool hasFileName() const;
QString fileName() const { return m_fileName; }
void setFileName(const QString &fileName);
MPackage *rootPackage() const { return m_rootPackage; }
void setRootPackage(MPackage *rootPackage);
QString configPath() const { return m_configPath; }
void setConfigPath(const QString &configPath);
private:
Uid m_uid;
QString m_fileName;
MPackage *m_rootPackage = nullptr;
QString m_configPath;
};
} // namespace qmt
|