blob: a29ba86d3ce015d6c6d9d0374815ee777f3ec016 (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
//
// Copyright (C) 2013 Mateusz Ĺoskot <mateusz@loskot.net>
//
// This file is part of Qt Creator Boost.Build plugin project.
//
// This is free software; you can redistribute and/or modify it under
// the terms of the GNU Lesser General Public License, Version 2.1
// as published by the Free Software Foundation.
// See accompanying file LICENSE.txt or copy at
// http://www.gnu.org/licenses/lgpl-2.1-standalone.html.
//
#include "b2project.h"
#include "b2projectfile.h"
#include "b2projectmanagerconstants.h"
#include "b2utility.h"
namespace BoostBuildProjectManager {
namespace Internal {
ProjectFile::ProjectFile(Project* project, QString const& fileName)
: Core::IDocument(project)
, m_project(project)
{
Q_ASSERT(!fileName.isEmpty());
setFilePath(Utils::FileName::fromString(fileName));
BBPM_QDEBUG(fileName);
}
bool ProjectFile::save(QString* errorString, QString const& fileName, bool autoSave)
{
Q_UNUSED(errorString);
Q_UNUSED(fileName);
Q_UNUSED(autoSave);
BBPM_QDEBUG("TODO");
return false;
}
QString ProjectFile::defaultPath() const
{
BBPM_QDEBUG("TODO");
return QString();
}
QString ProjectFile::suggestedFileName() const
{
return QString();
}
QString ProjectFile::mimeType() const
{
BBPM_QDEBUG("TODO");
return QLatin1String(Constants::MIMETYPE_JAMFILE);
}
bool ProjectFile::isModified() const
{
return false;
}
bool ProjectFile::isSaveAsAllowed() const
{
BBPM_QDEBUG("TODO");
return false;
}
bool ProjectFile::reload(QString* errorString, ReloadFlag flag, ChangeType type)
{
Q_UNUSED(errorString);
Q_UNUSED(flag);
Q_UNUSED(type);
BBPM_QDEBUG("TODO");
return false;
}
} // namespace Internal
} // namespace AutotoolsProjectManager
|