File: Plug2.cpp

package info (click to toggle)
vite 1.2%2Bsvn%2Bgit4.c6c0ce7-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 21,488 kB
  • sloc: cpp: 32,339; makefile: 457; sh: 144; ansic: 67
file content (16 lines) | stat: -rw-r--r-- 370 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "Plugin.hpp"

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

    std::string get_name() { return "Plug2"; }

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

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