-
Notifications
You must be signed in to change notification settings - Fork 0
/
qmakewatchermenudialog.cpp
57 lines (49 loc) · 1.24 KB
/
qmakewatchermenudialog.cpp
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
#include "qmakewatchermenudialog.h"
#include <iostream>
int ribi::QmakeWatcherMenuDialog::ExecuteSpecific(const std::vector<std::string>& argv) noexcept
{
const int argc = static_cast<int>(argv.size());
if (argc == 1)
{
std::cout << GetHelp() << '\n';
return 0;
}
return 0;
}
ribi::About ribi::QmakeWatcherMenuDialog::GetAbout() const noexcept
{
ribi::About a {
"Richel Bilderbeek",
"QmakeWatcher",
"tool to watch qmake's .pro to Makefile conversion",
"November 21st of 2015",
"2010-2015",
"http://www.richelbilderbeek.nl/ToolQmakeWatcher.htm",
GetVersion(),
GetVersionHistory()
};
return a;
}
ribi::Help ribi::QmakeWatcherMenuDialog::GetHelp() const noexcept
{
return Help(
this->GetAbout().GetFileTitle(),
this->GetAbout().GetFileDescription(),
{
},
{
}
);
}
std::string ribi::QmakeWatcherMenuDialog::GetVersion() const noexcept
{
return "2.0";
}
std::vector<std::string> ribi::QmakeWatcherMenuDialog::GetVersionHistory() const noexcept
{
return {
"2013-09-20: version 1.0: initial version, conformized for ProjectRichelBilderbeek",
"2013-11-04: version 1.1: conformized for ProjectRichelBilderbeekConsole",
"2015-11-21: version 2.0: moved to own GitHub",
};
}