Mantid
Loading...
Searching...
No Matches
MantidHelpInterface.cpp
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2018 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
8#include <QString>
9#include <QUrl>
10
11using namespace MantidQt::API;
12using std::string;
13
15
17
18void MantidHelpInterface::showPage(const std::string &url) { UNUSED_ARG(url); }
19
20void MantidHelpInterface::showPage(const QString &url) { UNUSED_ARG(url); }
21
22void MantidHelpInterface::showPage(const QUrl &url) { UNUSED_ARG(url); }
23
24void MantidHelpInterface::showWikiPage(const std::string &page) { UNUSED_ARG(page); }
25
26void MantidHelpInterface::showWikiPage(const QString &page) { UNUSED_ARG(page); }
27
28void MantidHelpInterface::showConcept(const std::string &page) { UNUSED_ARG(page); }
29
30void MantidHelpInterface::showConcept(const QString &page) { UNUSED_ARG(page); }
31
32void MantidHelpInterface::showAlgorithm(const std::string &name, const int version) {
33 UNUSED_ARG(name);
34 UNUSED_ARG(version);
35}
36
37void MantidHelpInterface::showAlgorithm(const QString &name, const int version) {
38 UNUSED_ARG(name);
39 UNUSED_ARG(version);
40}
41
42void MantidHelpInterface::showFitFunction(const std::string &name) { UNUSED_ARG(name); }
43
44void MantidHelpInterface::showFitFunction(const QString &name) { UNUSED_ARG(name); }
45
46void MantidHelpInterface::showCustomInterface(const std::string &name, const std::string &area,
47 const std::string &section) {
48 UNUSED_ARG(name);
49 UNUSED_ARG(area);
50 UNUSED_ARG(section);
51}
52
53void MantidHelpInterface::showCustomInterface(const QString &name, const QString &area, const QString &section) {
54 UNUSED_ARG(name);
55 UNUSED_ARG(area);
56 UNUSED_ARG(section);
57}
58
#define UNUSED_ARG(x)
Function arguments are sometimes unused in certain implmentations but are required for documentation ...
Definition: System.h:64
virtual void showConcept(const std::string &name)
virtual void showWikiPage(const std::string &page=std::string())
virtual void showCustomInterface(const std::string &name, const std::string &area=std::string(), const std::string &section=std::string())
virtual void shutdown()
Perform any clean up on main window shutdown.
~MantidHelpInterface() override
Default destructor.
virtual void showFitFunction(const std::string &name=std::string())
virtual void showAlgorithm(const std::string &name=std::string(), const int version=-1)
virtual void showPage(const std::string &url=std::string())
MantidHelpInterface()
Default constructor.