-
Notifications
You must be signed in to change notification settings - Fork 3
/
Lua4RSPlugin.h
43 lines (32 loc) · 1.19 KB
/
Lua4RSPlugin.h
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
#ifndef LUA4RSPLUGIN_H
#define LUA4RSPLUGIN_H
#include <retroshare/rsplugin.h>
class p3Lua4RS;
class Lua4RSPlugin : public RsPlugin
{
public:
Lua4RSPlugin();
MainPage *qt_page() const;
QIcon *qt_icon() const;
QTranslator *qt_translator(QApplication *app, const QString &languageCode, const QString &externalDir) const;
ConfigPage *qt_config_page() const;
QDialog *qt_about_page() const;
void getPluginVersion(int &major, int &minor, int &build, int &svn_rev) const;
void setPlugInHandler(RsPluginHandler *pgHandler);
void stop();
p3Config *p3_config() const;
std::string configurationFileName() const { return "Lua4RS.cfg"; }
std::string getShortPluginDescription() const;
std::string getPluginName() const;
void setInterfaces(RsPlugInInterfaces& interfaces);
void getLibraries(std::list<RsLibraryInfo> &libraries);
protected:
private:
mutable QIcon *_icon ;
mutable MainPage *_mainpage ;
mutable RsNotify *_notify;
mutable RsPluginHandler *_pluginHandler;
mutable RsPeers *_peers;
mutable p3Lua4RS *_service;
};
#endif // LUA4RSPLUGIN_H