Skip to content

Commit

Permalink
Update PLUGIN_VERSION to 0.0.2 in onestep.h
Browse files Browse the repository at this point in the history
Signed-off-by: xiaoming <[email protected]>
  • Loading branch information
QQxiaoming committed Jan 25, 2024
1 parent 8f8733d commit 762dbfb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions onestep.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "onestepwindow.h"

#define PLUGIN_NAME "One Step"
#define PLUGIN_VERSION "0.0.1"
#define PLUGIN_VERSION "0.0.2"

class OneStep : public PluginInterface
{
Expand All @@ -24,8 +24,11 @@ class OneStep : public PluginInterface
QString name() { return PLUGIN_NAME; }
QString version() { return PLUGIN_VERSION; }

QMenu *mainMenu() { return oneStepMenu; }
QAction *mainAction() { return nullptr; }
QMap<QString,void *> metaObject() {
QMap<QString,void *> ret;
ret.insert("QMenu", (void *)oneStepMenu);
return ret;
}

QMenu *terminalContextMenu(QString selectedText, QString workingDirectory, QMenu *parentMenu) {Q_UNUSED(selectedText);Q_UNUSED(workingDirectory);Q_UNUSED(parentMenu); return nullptr;}
QList<QAction *> terminalContextAction(QString selectedText, QString workingDirectory, QMenu *parentMenu);
Expand Down
2 changes: 1 addition & 1 deletion plugininterface

0 comments on commit 762dbfb

Please sign in to comment.