summaryrefslogtreecommitdiffstats
path: root/kue/pluginloader.h
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2024-08-07 19:13:02 +0300
committerMavridis Philippe <mavridisf@gmail.com>2024-08-07 19:23:24 +0300
commit04b5a62b8d9f5ff8240f25361046f2a5d58e8262 (patch)
tree98b126454cdf68d544e138d7e8b31d5fd45b72c2 /kue/pluginloader.h
parent83ba00b7e569587d50383ff06a70148042ca780e (diff)
downloadtdegames-feat/kue.tar.gz
tdegames-feat/kue.zip
Add Kue billiards gamefeat/kue
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'kue/pluginloader.h')
-rw-r--r--kue/pluginloader.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/kue/pluginloader.h b/kue/pluginloader.h
new file mode 100644
index 00000000..de5e1aa0
--- /dev/null
+++ b/kue/pluginloader.h
@@ -0,0 +1,25 @@
+#ifndef _PLUGINLOADER_H
+#define _PLUGINLOADER_H
+
+#include <tqvaluelist.h>
+
+class TQString;
+
+class KuePluginInfo {
+ public:
+ TQString name;
+ TQString description;
+ TQString filename;
+ TQString type;
+
+ // Minimum and maximum number of teams
+ unsigned int minTeams;
+ unsigned int maxTeams;
+};
+
+namespace KuePluginLoader {
+ TQValueList<KuePluginInfo> available();
+ KuePluginInfo getInformation(const TQString &filename);
+};
+
+#endif