diff --git a/include/qVoxFall.h b/include/qVoxFall.h index 444fff7..344385e 100644 --- a/include/qVoxFall.h +++ b/include/qVoxFall.h @@ -4,7 +4,7 @@ //# # //# This program is free software; you can redistribute it and/or modify # //# it under the terms of the GNU General Public License as published by # -//# the Free Software Foundation; version 2 of the License. # +//# the Free Software Foundation; version 3 of the License. # //# # //# This program is distributed in the hope that it will be useful, # //# but WITHOUT ANY WARRANTY; without even the implied warranty of # @@ -38,6 +38,7 @@ public: // Inherited from ccStdPluginInterface void onNewSelection( const ccHObject::Container &selectedEntities ) override; QList getActions() override; + virtual void registerCommands(ccCommandLineInterface* cmd) override; private: diff --git a/include/qVoxFallDialog.h b/include/qVoxFallDialog.h index ff73981..590f3bb 100644 --- a/include/qVoxFallDialog.h +++ b/include/qVoxFallDialog.h @@ -4,7 +4,7 @@ //# # //# This program is free software; you can redistribute it and/or modify # //# it under the terms of the GNU General Public License as published by # -//# the Free Software Foundation; version 2 of the License. # +//# the Free Software Foundation; version 3 of the License. # //# # //# This program is distributed in the hope that it will be useful, # //# but WITHOUT ANY WARRANTY; without even the implied warranty of # diff --git a/include/qVoxFallDisclaimerDialog.h b/include/qVoxFallDisclaimerDialog.h index 70080da..a7bb877 100644 --- a/include/qVoxFallDisclaimerDialog.h +++ b/include/qVoxFallDisclaimerDialog.h @@ -4,7 +4,7 @@ //# # //# This program is free software; you can redistribute it and/or modify # //# it under the terms of the GNU General Public License as published by # -//# the Free Software Foundation; version 2 or later of the License. # +//# the Free Software Foundation; version 3 of the License. # //# # //# This program is distributed in the hope that it will be useful, # //# but WITHOUT ANY WARRANTY; without even the implied warranty of # diff --git a/include/qVoxFallProcess.h b/include/qVoxFallProcess.h index 4a62bdd..eacd9f6 100644 --- a/include/qVoxFallProcess.h +++ b/include/qVoxFallProcess.h @@ -4,7 +4,7 @@ //# # //# This program is free software; you can redistribute it and/or modify # //# it under the terms of the GNU General Public License as published by # -//# the Free Software Foundation; version 2 of the License. # +//# the Free Software Foundation; version 3 of the License. # //# # //# This program is distributed in the hope that it will be useful, # //# but WITHOUT ANY WARRANTY; without even the implied warranty of # diff --git a/include/qVoxFallTools.h b/include/qVoxFallTools.h index 3e0576d..b1f2ee7 100644 --- a/include/qVoxFallTools.h +++ b/include/qVoxFallTools.h @@ -4,7 +4,7 @@ //# # //# This program is free software; you can redistribute it and/or modify # //# it under the terms of the GNU General Public License as published by # -//# the Free Software Foundation; version 2 of the License. # +//# the Free Software Foundation; version 3 of the License. # //# # //# This program is distributed in the hope that it will be useful, # //# but WITHOUT ANY WARRANTY; without even the implied warranty of # diff --git a/src/qVoxFall.cpp b/src/qVoxFall.cpp index f006ad3..6d8f95f 100644 --- a/src/qVoxFall.cpp +++ b/src/qVoxFall.cpp @@ -4,7 +4,7 @@ //# # //# This program is free software; you can redistribute it and/or modify # //# it under the terms of the GNU General Public License as published by # -//# the Free Software Foundation; version 2 of the License. # +//# the Free Software Foundation; version 3 of the License. # //# # //# This program is distributed in the hope that it will be useful, # //# but WITHOUT ANY WARRANTY; without even the implied warranty of # @@ -25,6 +25,7 @@ //local #include "qVoxFallDialog.h" #include "qVoxFallDisclaimerDialog.h" +#include "qVoxFallCommands.h" #include "qVoxFallProcess.h" //qCC_db @@ -137,3 +138,13 @@ void qVoxFall::doAction() //'Compute' may change some parameters of the dialog dlg.saveParamsToPersistentSettings(); } + +void qVoxFall::registerCommands(ccCommandLineInterface* cmd) +{ + if (!cmd) + { + assert(false); + return; + } + cmd->registerCommand(ccCommandLineInterface::Command::Shared(new CommandVoxFall)); +} diff --git a/src/qVoxFallDialog.cpp b/src/qVoxFallDialog.cpp index 16d0a0a..dd05ac2 100644 --- a/src/qVoxFallDialog.cpp +++ b/src/qVoxFallDialog.cpp @@ -4,7 +4,7 @@ //# # //# This program is free software; you can redistribute it and/or modify # //# it under the terms of the GNU General Public License as published by # -//# the Free Software Foundation; version 2 of the License. # +//# the Free Software Foundation; version 3 of the License. # //# # //# This program is distributed in the hope that it will be useful, # //# but WITHOUT ANY WARRANTY; without even the implied warranty of # diff --git a/src/qVoxFallDisclaimerDialog.cpp b/src/qVoxFallDisclaimerDialog.cpp index dfa36ac..9b0f154 100644 --- a/src/qVoxFallDisclaimerDialog.cpp +++ b/src/qVoxFallDisclaimerDialog.cpp @@ -4,7 +4,7 @@ //# # //# This program is free software; you can redistribute it and/or modify # //# it under the terms of the GNU General Public License as published by # -//# the Free Software Foundation; version 2 of the License. # +//# the Free Software Foundation; version 3 of the License. # //# # //# This program is distributed in the hope that it will be useful, # //# but WITHOUT ANY WARRANTY; without even the implied warranty of # diff --git a/src/qVoxFallProcess.cpp b/src/qVoxFallProcess.cpp index 7830118..31f7e59 100644 --- a/src/qVoxFallProcess.cpp +++ b/src/qVoxFallProcess.cpp @@ -4,7 +4,7 @@ //# # //# This program is free software; you can redistribute it and/or modify # //# it under the terms of the GNU General Public License as published by # -//# the Free Software Foundation; version 2 of the License. # +//# the Free Software Foundation; version 3 of the License. # //# # //# This program is distributed in the hope that it will be useful, # //# but WITHOUT ANY WARRANTY; without even the implied warranty of # diff --git a/src/qVoxFallTools.cpp b/src/qVoxFallTools.cpp index b994752..e9bbdcf 100644 --- a/src/qVoxFallTools.cpp +++ b/src/qVoxFallTools.cpp @@ -4,7 +4,7 @@ //# # //# This program is free software; you can redistribute it and/or modify # //# it under the terms of the GNU General Public License as published by # -//# the Free Software Foundation; version 2 of the License. # +//# the Free Software Foundation; version 3 of the License. # //# # //# This program is distributed in the hope that it will be useful, # //# but WITHOUT ANY WARRANTY; without even the implied warranty of # diff --git a/ui/qVoxFallDialog.ui b/ui/qVoxFallDialog.ui index 45b5452..e05bb90 100644 --- a/ui/qVoxFallDialog.ui +++ b/ui/qVoxFallDialog.ui @@ -113,7 +113,7 @@ - 0 + 90 0.0