/soc/2013/ankitkv/gobjectification: 07f8c9889257: Added flags to...

Ankit Vani a at nevitus.org
Mon Aug 12 07:36:59 EDT 2013


Changeset: 07f8c9889257f85867b884a5ab907ec9594d193d
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-08-12 17:06 +0530
Branch:	 soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/07f8c9889257

Description:

Added flags to all prpls

diffstat:

 libpurple/protocols/bonjour/bonjour.c   |   2 ++
 libpurple/protocols/gg/gg.c             |   2 ++
 libpurple/protocols/irc/irc.c           |   2 ++
 libpurple/protocols/msn/msn.c           |   2 ++
 libpurple/protocols/mxit/mxit.c         |   2 ++
 libpurple/protocols/myspace/myspace.c   |   2 ++
 libpurple/protocols/novell/novell.c     |   2 ++
 libpurple/protocols/oscar/libaim.c      |   2 ++
 libpurple/protocols/oscar/libicq.c      |   2 ++
 libpurple/protocols/sametime/sametime.c |   2 ++
 libpurple/protocols/silc/silc.c         |  20 +++++++++++---------
 libpurple/protocols/simple/simple.c     |   2 ++
 libpurple/protocols/yahoo/libyahoo.c    |   2 ++
 libpurple/protocols/yahoo/libyahoojp.c  |   2 ++
 libpurple/protocols/zephyr/zephyr.c     |   2 ++
 15 files changed, 39 insertions(+), 9 deletions(-)

diffs (198 lines):

diff --git a/libpurple/protocols/bonjour/bonjour.c b/libpurple/protocols/bonjour/bonjour.c
--- a/libpurple/protocols/bonjour/bonjour.c
+++ b/libpurple/protocols/bonjour/bonjour.c
@@ -713,6 +713,8 @@ plugin_query(GError **error)
 		"description",  N_("Bonjour Protocol Plugin"),
 		"website",      PURPLE_WEBSITE,
 		"abi-version",  PURPLE_ABI_VERSION,
+		"flags",        GPLUGIN_PLUGIN_INFO_FLAGS_INTERNAL |
+		                GPLUGIN_PLUGIN_INFO_FLAGS_LOAD_ON_QUERY,
 		NULL
 	);
 }
diff --git a/libpurple/protocols/gg/gg.c b/libpurple/protocols/gg/gg.c
--- a/libpurple/protocols/gg/gg.c
+++ b/libpurple/protocols/gg/gg.c
@@ -1481,6 +1481,8 @@ plugin_query(GError **error)
 		"author",       "boler at sourceforge.net",
 		"website",      PURPLE_WEBSITE,
 		"abi-version",  PURPLE_ABI_VERSION,
+		"flags",        GPLUGIN_PLUGIN_INFO_FLAGS_INTERNAL |
+		                GPLUGIN_PLUGIN_INFO_FLAGS_LOAD_ON_QUERY,
 		NULL
 	);
 }
diff --git a/libpurple/protocols/irc/irc.c b/libpurple/protocols/irc/irc.c
--- a/libpurple/protocols/irc/irc.c
+++ b/libpurple/protocols/irc/irc.c
@@ -1006,6 +1006,8 @@ plugin_query(GError **error)
 		"description",  N_("The IRC Protocol Plugin that Sucks Less"),
 		"website",      PURPLE_WEBSITE,
 		"abi-version",  PURPLE_ABI_VERSION,
+		"flags",        GPLUGIN_PLUGIN_INFO_FLAGS_INTERNAL |
+		                GPLUGIN_PLUGIN_INFO_FLAGS_LOAD_ON_QUERY,
 		NULL
 	);
 }
diff --git a/libpurple/protocols/msn/msn.c b/libpurple/protocols/msn/msn.c
--- a/libpurple/protocols/msn/msn.c
+++ b/libpurple/protocols/msn/msn.c
@@ -2956,6 +2956,8 @@ plugin_query(GError **error)
 		"description",  N_("Windows Live Messenger Protocol Plugin"),
 		"website",      PURPLE_WEBSITE,
 		"abi-version",  PURPLE_ABI_VERSION,
+		"flags",        GPLUGIN_PLUGIN_INFO_FLAGS_INTERNAL |
+		                GPLUGIN_PLUGIN_INFO_FLAGS_LOAD_ON_QUERY,
 		NULL
 	);
 }
diff --git a/libpurple/protocols/mxit/mxit.c b/libpurple/protocols/mxit/mxit.c
--- a/libpurple/protocols/mxit/mxit.c
+++ b/libpurple/protocols/mxit/mxit.c
@@ -820,6 +820,8 @@ static PurplePluginInfo *plugin_query( G
 		"author",		MXIT_PLUGIN_AUTHOR,		/* plugin author name and email address */
 		"website",		MXIT_PLUGIN_WWW,		/* plugin website (to find new versions and reporting of bugs) */
 		"abi-version",	PURPLE_ABI_VERSION,		/* ABI version required by the plugin */
+		"flags",        GPLUGIN_PLUGIN_INFO_FLAGS_INTERNAL |
+		                GPLUGIN_PLUGIN_INFO_FLAGS_LOAD_ON_QUERY,
 		NULL
 	);
 }
diff --git a/libpurple/protocols/myspace/myspace.c b/libpurple/protocols/myspace/myspace.c
--- a/libpurple/protocols/myspace/myspace.c
+++ b/libpurple/protocols/myspace/myspace.c
@@ -3476,6 +3476,8 @@ plugin_query(GError **error)
 		"author",       "Jeff Connelly <jeff2 at soc.pidgin.im>",
 		"website",      "https://developer.pidgin.im/wiki/MySpaceIM/",
 		"abi-version",  PURPLE_ABI_VERSION,
+		"flags",        GPLUGIN_PLUGIN_INFO_FLAGS_INTERNAL |
+		                GPLUGIN_PLUGIN_INFO_FLAGS_LOAD_ON_QUERY,
 		NULL
 	);
 }
diff --git a/libpurple/protocols/novell/novell.c b/libpurple/protocols/novell/novell.c
--- a/libpurple/protocols/novell/novell.c
+++ b/libpurple/protocols/novell/novell.c
@@ -3565,6 +3565,8 @@ plugin_query(GError **error)
 		"description",  N_("Novell GroupWise Messenger Protocol Plugin"),
 		"website",      PURPLE_WEBSITE,
 		"abi-version",  PURPLE_ABI_VERSION,
+		"flags",        GPLUGIN_PLUGIN_INFO_FLAGS_INTERNAL |
+		                GPLUGIN_PLUGIN_INFO_FLAGS_LOAD_ON_QUERY,
 		NULL
 	);
 }
diff --git a/libpurple/protocols/oscar/libaim.c b/libpurple/protocols/oscar/libaim.c
--- a/libpurple/protocols/oscar/libaim.c
+++ b/libpurple/protocols/oscar/libaim.c
@@ -119,6 +119,8 @@ plugin_query(GError **error)
 		"description",  N_("AIM Protocol Plugin"),
 		"website",      PURPLE_WEBSITE,
 		"abi-version",  PURPLE_ABI_VERSION,
+		"flags",        GPLUGIN_PLUGIN_INFO_FLAGS_INTERNAL |
+		                GPLUGIN_PLUGIN_INFO_FLAGS_LOAD_ON_QUERY,
 		NULL
 	);
 }
diff --git a/libpurple/protocols/oscar/libicq.c b/libpurple/protocols/oscar/libicq.c
--- a/libpurple/protocols/oscar/libicq.c
+++ b/libpurple/protocols/oscar/libicq.c
@@ -127,6 +127,8 @@ plugin_query(GError **error)
 		"description",  N_("ICQ Protocol Plugin"),
 		"website",      PURPLE_WEBSITE,
 		"abi-version",  PURPLE_ABI_VERSION,
+		"flags",        GPLUGIN_PLUGIN_INFO_FLAGS_INTERNAL |
+		                GPLUGIN_PLUGIN_INFO_FLAGS_LOAD_ON_QUERY,
 		NULL
 	);
 }
diff --git a/libpurple/protocols/sametime/sametime.c b/libpurple/protocols/sametime/sametime.c
--- a/libpurple/protocols/sametime/sametime.c
+++ b/libpurple/protocols/sametime/sametime.c
@@ -5703,6 +5703,8 @@ plugin_query(GError **error)
 		"website",            PLUGIN_HOMEPAGE,
 		"abi-version",        PURPLE_ABI_VERSION,
 		"preferences-frame",  mw_plugin_get_plugin_pref_frame,
+		"flags",              GPLUGIN_PLUGIN_INFO_FLAGS_INTERNAL |
+		                      GPLUGIN_PLUGIN_INFO_FLAGS_LOAD_ON_QUERY,
 		NULL
 	);
 }
diff --git a/libpurple/protocols/silc/silc.c b/libpurple/protocols/silc/silc.c
--- a/libpurple/protocols/silc/silc.c
+++ b/libpurple/protocols/silc/silc.c
@@ -2135,15 +2135,17 @@ static PurplePluginInfo *
 plugin_query(GError **error)
 {
 	return purple_plugin_info_new(
-		"abi-version", PURPLE_ABI_VERSION,
-		"category", N_("Protocol"),
-		"id", "prpl-silc",
-		"name", "SILC",
-		"version", "1.1",
-		"summary", N_("SILC Protocol Plugin"),
-		"description", N_("Secure Internet Live Conferencing (SILC) Protocol"),
-		"author", "Pekka Riikonen",
-		"website", "http://silcnet.org/",
+		"id",           "prpl-silc",
+		"name",         "SILC",
+		"version",      "1.1",
+		"category",     N_("Protocol"),
+		"summary",      N_("SILC Protocol Plugin"),
+		"description",  N_("Secure Internet Live Conferencing (SILC) Protocol"),
+		"author",       "Pekka Riikonen",
+		"website",      "http://silcnet.org/",
+		"abi-version",  PURPLE_ABI_VERSION,
+		"flags",        GPLUGIN_PLUGIN_INFO_FLAGS_INTERNAL |
+		                GPLUGIN_PLUGIN_INFO_FLAGS_LOAD_ON_QUERY,
 		NULL
 	);
 }
diff --git a/libpurple/protocols/simple/simple.c b/libpurple/protocols/simple/simple.c
--- a/libpurple/protocols/simple/simple.c
+++ b/libpurple/protocols/simple/simple.c
@@ -2137,6 +2137,8 @@ plugin_query(GError **error)
 		"author",		"Thomas Butter <butter at uni-mannheim.de>",
 		"website",		PURPLE_WEBSITE,
 		"abi-version",	PURPLE_ABI_VERSION,
+		"flags",        GPLUGIN_PLUGIN_INFO_FLAGS_INTERNAL |
+		                GPLUGIN_PLUGIN_INFO_FLAGS_LOAD_ON_QUERY,
 		NULL
 	);
 }
diff --git a/libpurple/protocols/yahoo/libyahoo.c b/libpurple/protocols/yahoo/libyahoo.c
--- a/libpurple/protocols/yahoo/libyahoo.c
+++ b/libpurple/protocols/yahoo/libyahoo.c
@@ -276,6 +276,8 @@ plugin_query(GError **error)
 		"description",  N_("Yahoo! Protocol Plugin"),
 		"website",      PURPLE_WEBSITE,
 		"abi-version",  PURPLE_ABI_VERSION,
+		"flags",        GPLUGIN_PLUGIN_INFO_FLAGS_INTERNAL |
+		                GPLUGIN_PLUGIN_INFO_FLAGS_LOAD_ON_QUERY,
 		NULL
 	);
 }
diff --git a/libpurple/protocols/yahoo/libyahoojp.c b/libpurple/protocols/yahoo/libyahoojp.c
--- a/libpurple/protocols/yahoo/libyahoojp.c
+++ b/libpurple/protocols/yahoo/libyahoojp.c
@@ -174,6 +174,8 @@ plugin_query(GError **error)
 		"description",  N_("Yahoo! JAPAN Protocol Plugin"),
 		"website",      PURPLE_WEBSITE,
 		"abi-version",  PURPLE_ABI_VERSION,
+		"flags",        GPLUGIN_PLUGIN_INFO_FLAGS_INTERNAL |
+		                GPLUGIN_PLUGIN_INFO_FLAGS_LOAD_ON_QUERY,
 		NULL
 	);
 }
diff --git a/libpurple/protocols/zephyr/zephyr.c b/libpurple/protocols/zephyr/zephyr.c
--- a/libpurple/protocols/zephyr/zephyr.c
+++ b/libpurple/protocols/zephyr/zephyr.c
@@ -2956,6 +2956,8 @@ static PurplePluginInfo *plugin_query(GE
 		"description",  N_("Zephyr Protocol Plugin"),
 		"website",      PURPLE_WEBSITE,
 		"abi-version",  PURPLE_ABI_VERSION,
+		"flags",        GPLUGIN_PLUGIN_INFO_FLAGS_INTERNAL |
+		                GPLUGIN_PLUGIN_INFO_FLAGS_LOAD_ON_QUERY,
 		NULL
 	);
 }



More information about the Commits mailing list