GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — plugins/samplecliplugin/src/samplecliplugin.cpp at develop · nullptrlabs/plugins Expand file tree/ Copy pathsamplecliplugin.cppMore file actions 82 lines (68 loc) · 2.15 KB / Copy pathsamplecliplugin.cppFile metadata and controls82 lines (68 loc) · 2.15 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 /* # PostgreSQL Database Modeler (pgModeler) # # Copyright 2006-2024 - Raphael Araújo e Silva <[email protected]> # # 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 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # The complete text of GPLv3 is at LICENSE file on source code root directory. # Also, you can get the complete GNU General Public License at <http://www.gnu.org/licenses/> */ #include "samplecliplugin.h" #include "pgmodelercliapp.h" const QString SampleCliPlugin::SampleCliOpt("--sample-cli"); QString SampleCliPlugin::getPluginTitle() { return { tr("Sample plug-in") }; } QString SampleCliPlugin::getPluginVersion() { return { "0.1.0" }; } QString SampleCliPlugin::getPluginAuthor() { return { "Raphael Araújo e Silva" }; } QString SampleCliPlugin::getPluginDescription() { return { tr("This sample plug-in has the sole purpose of serving as a template for the development of extended features \n for pgModeler CLI based on the plug-in interface.") }; } attribs_map SampleCliPlugin::getShortOptions() { return {{ SampleCliOpt, "-sc" }}; } std::map<QString, bool> SampleCliPlugin::getLongOptions() { return {{ SampleCliOpt, false }}; } QStringList SampleCliPlugin::getOpModeOptions() { return { SampleCliOpt }; } attribs_map SampleCliPlugin::getOptsDescription() { return {{ SampleCliOpt, tr("A description for an option used by the samplecliplugin.") }}; } PgModelerCliPlugin::OperationId SampleCliPlugin::getOperationId() { return CustomCliOp; } void SampleCliPlugin::runPreOperation() { cli_app->printText("Executing the runPreOperation() method of samplecliplugin"); } void SampleCliPlugin::runOperation() { cli_app->printText("Executing the runOperation() method of samplecliplugin"); } void SampleCliPlugin::runPostOperation() { cli_app->printText("Executing the runPostOperation() method of samplecliplugin"); } |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |