Commit 74e259dc authored by Lucas Beeler's avatar Lucas Beeler

Migrates the YouTube connector to the new pluggable, publishing API.

parent afc218e7
......@@ -77,7 +77,6 @@ UNUNITIZED_SRC_FILES = \
Tag.vala \
TagPage.vala \
PiwigoConnector.vala \
YouTubeConnector.vala \
Screensaver.vala \
MimicManager.vala \
TrashPage.vala \
......
......@@ -14,6 +14,7 @@ SRC_FILES := \
FacebookPublishing.vala \
PicasaPublishing.vala \
FlickrPublishing.vala \
YouTubePublishing.vala \
RESTSupport.vala
include ../Makefile.plugin.mk
......
......@@ -14,6 +14,7 @@ private class ShotwellPublishingCoreServices : Object, Spit.Module {
pluggables += new FacebookService();
pluggables += new PicasaService();
pluggables += new FlickrService();
pluggables += new YouTubeService();
}
~ShotwellPublishingCoreServices() {
......
......@@ -1248,7 +1248,6 @@ public class ServiceFactory {
caps_map.clear();
add_caps(new YandexConnector.Capabilities());
add_caps(new YouTubeConnector.Capabilities());
add_caps(new PiwigoConnector.Capabilities());
// in addition to the baked-in services above, add services dynamically loaded from
......
......@@ -31,6 +31,9 @@ public class StandardHostInterface : Object, Spit.HostInterface {
case "org.yorba.shotwell.publishing.flickr":
return "flickr";
case "org.yorba.shotwell.publishing.youtube":
return "youtube";
default:
return id;
......
......@@ -11,6 +11,7 @@ public void init() throws Error {
core_ids += "org.yorba.shotwell.publishing.facebook";
core_ids += "org.yorba.shotwell.publishing.picasa";
core_ids += "org.yorba.shotwell.publishing.flickr";
core_ids += "org.yorba.shotwell.publishing.youtube";
Plugins.register_extension_point(typeof(Spit.Publishing.Service), _("Publishing"),
Resources.PUBLISH, core_ids);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment