Skip to content

Commit 3867b52

Browse files
committed
[core] Add docs
1 parent 0968b4b commit 3867b52

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

SpatGRIS/ProtocolFactory.cpp

+6
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include <QDialogButtonBox>
1515
#include <QFormLayout>
1616
#include <QObject>
17+
#include <QUrl>
1718

1819
namespace SpatGRIS
1920
{
@@ -28,6 +29,11 @@ QString ProtocolFactory::category() const noexcept
2829
return StandardCategories::software;
2930
}
3031

32+
QUrl ProtocolFactory::manual() const noexcept
33+
{
34+
return QUrl("https://ossia.io/score-docs/devices/spatgris-device.html");
35+
}
36+
3137
Device::DeviceEnumerators
3238
ProtocolFactory::getEnumerators(const score::DocumentContext& ctx) const
3339
{

SpatGRIS/ProtocolFactory.hpp

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ class ProtocolFactory final : public Protocols::DefaultProtocolFactory
1010

1111
QString prettyName() const noexcept override;
1212
QString category() const noexcept override;
13+
QUrl manual() const noexcept override;
14+
1315
Device::DeviceEnumerators
1416
getEnumerators(const score::DocumentContext& ctx) const override;
1517

0 commit comments

Comments
 (0)