File: Plug1.cpp

package info (click to toggle)
vite 1.2%2Bsvn1430-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 20,140 kB
  • ctags: 3,895
  • sloc: cpp: 26,900; makefile: 457; sh: 111; ansic: 67
file content (15 lines) | stat: -rw-r--r-- 368 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "Plugin.hpp"

class Plug1 : public Plugin {
public: 
    void init() { printf("Plug1 : init\n"); }
    void set_arguments(std::map<std::string /*argname*/, QVariant */*argValue*/>) {}
    std::string get_name() { return "Plug1"; }

public slots:
    void execute() { printf("Plug1 : exec\n"); }
};

extern "C" {
    Plugin *create() { return new Plug1(); }
}