Skip to content

Commit

Permalink
Add website
Browse files Browse the repository at this point in the history
Signed-off-by: xiaoming <[email protected]>
  • Loading branch information
QQxiaoming committed Jul 11, 2024
1 parent a7319db commit ebd1b53
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions listserial.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#define PLUGIN_NAME "List Serial"
#define PLUGIN_VERSION "0.0.3"
#define PLUGIN_WEBSITE "https://github.com/QuardCRT-platform/plugin-ListSerial"

class ListSerial : public PluginInterface
{
Expand All @@ -29,6 +30,7 @@ class ListSerial : public PluginInterface
QMap<QString,void *> metaObject() {
QMap<QString,void *> ret;
ret.insert("QAction", (void *)m_action);
ret.insert("website", (void *)(&m_website));
return ret;
}

Expand Down Expand Up @@ -56,6 +58,7 @@ class ListSerial : public PluginInterface

private:
QAction *m_action;
QString m_website = QString(PLUGIN_WEBSITE);
};

#endif /* LISTSERIAL_H_ */

0 comments on commit ebd1b53

Please sign in to comment.