using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.WindowsLive.PublishPlugins; namespace Com.Piwigo.LivePlugin.Publish { /// /// The hosting Windows Live application discovers installed publishing plug-ins by enumerating /// registry keys in the following location: /// /// HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Live\PublishPlugins /// /// The name of a publishing plug-in's key is not visible to the end user. Each key corresponds /// to one plug-in and contains the following values: /// /// AssemblyPath - The full path to your plug-in assembly. REG_SZ; required. /// ClassName - The fully qualified class name of your plug-in, including any namespaces. /// REG_SZ; required. /// FriendlyName - The a display name for the plug-in; this value is displayed on the /// Publish menu. REG_SZ; required. /// IconPath - The path and resource ID for an icon to display with your plug-in. REG_SZ; /// optional. /// /// The following provides a sample plug-in registry entry, using "Your Publishing Plug-In" as /// an example. /// /// [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Live\PublishPlugins\YourPublishingPlugin] /// "AssemblyPath"="C:\\Program Files\\YourPublishingPlugin\\YourPublishingPlugIn.dll" /// "ClassName"="YourPublishingPlugin.PublishPlugin" /// "FriendlyName"="Your Publishing Plug-in" /// "IconPath"="C:\\Program Files\\YourPublishingPlugin\\YourPublishingPlugIn.dll,-32512" /// public class PiwigoPublishPlugin : IPublishPlugin { public bool HasPublishResults(System.Xml.XmlDocument sessionXml) { throw new NotImplementedException(); } public bool HasSummaryInformation(System.Xml.XmlDocument sessionXml) { throw new NotImplementedException(); } public void LaunchPublishResults(System.Xml.XmlDocument sessionXml) { throw new NotImplementedException(); } public bool PublishItem(System.Windows.Forms.IWin32Window parentWindow, string mediaObjectId, System.IO.Stream stream, System.Xml.XmlDocument sessionXml, IPublishProperties publishProperties, IPublishProgressCallback callback, System.Threading.EventWaitHandle cancelEvent) { throw new NotImplementedException(); } public bool ShowConfigurationSettings(System.Windows.Forms.IWin32Window parentWindow, System.Xml.XmlDocument sessionXml, System.Xml.XmlDocument persistXml, IPublishProperties publishProperties) { throw new NotImplementedException(); } public void ShowSummaryInformation(System.Windows.Forms.IWin32Window parentWindow, System.Xml.XmlDocument sessionXml) { throw new NotImplementedException(); } } }