/soc/2012/michael/android: 12048c521108: Added missing plugin li...
Michael Zangl
michael at soc.pidgin.im
Sat Jul 7 03:34:25 EDT 2012
Changeset: 12048c5211089df0bed8e32248919254fbc63986
Author: Michael Zangl <michael at soc.pidgin.im>
Date: 2012-06-30 16:54 +0200
Branch: soc.2012.android
URL: http://hg.pidgin.im/soc/2012/michael/android/rev/12048c521108
Description:
Added missing plugin list interface
diffstat:
android/workspace/im.pidgin.libpurple/src/im/pidgin/libpurple/plugin/PurplePluginList.java | 25 ++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
diffs (31 lines):
diff --git a/android/workspace/im.pidgin.libpurple/src/im/pidgin/libpurple/plugin/PurplePluginList.java b/android/workspace/im.pidgin.libpurple/src/im/pidgin/libpurple/plugin/PurplePluginList.java
new file mode 100644
--- /dev/null
+++ b/android/workspace/im.pidgin.libpurple/src/im/pidgin/libpurple/plugin/PurplePluginList.java
@@ -0,0 +1,25 @@
+package im.pidgin.libpurple.plugin;
+
+import java.util.List;
+
+public interface PurplePluginList {
+
+ /**
+ * Gets a list of all known plugins
+ *
+ * @return A unmodifyable list.
+ */
+ public abstract List<PurplePlugin> getPlugins();
+
+ /**
+ * Gets a list of all protocol plugins
+ *
+ * @return An unmodifyable list of the known protocol plugins.
+ */
+ public abstract List<PurpleProtocolPlugin> getProtocolPlugins();
+
+ public abstract PurpleProtocolPlugin getProtocolPlugin(String protocolId);
+
+ public abstract PurplePlugin getPlugin(String protocolId);
+
+}
\ No newline at end of file
More information about the Commits
mailing list