source: extensions/PiwigoLib/PiwigoLivePlugIn/PiwigoPublishPlugin.cs @ 14789

Last change on this file since 14789 was 13847, checked in by bayral, 13 years ago

add forgotten files

File size: 3.0 KB
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using Microsoft.WindowsLive.PublishPlugins;
6
7namespace Com.Piwigo.LivePlugin.Publish
8{
9    /// <summary>
10    /// The hosting Windows Live application discovers installed publishing plug-ins by enumerating
11    /// registry keys in the following location:
12    ///
13    ///     HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Live\PublishPlugins
14    ///     
15    /// The name of a publishing plug-in's key is not visible to the end user. Each key corresponds
16    /// to one plug-in and contains the following values:
17    ///
18    ///     AssemblyPath - The full path to your plug-in assembly. REG_SZ; required.
19    ///     ClassName - The fully qualified class name of your plug-in, including any namespaces.
20    ///         REG_SZ; required.
21    ///     FriendlyName - The a display name for the plug-in; this value is displayed on the
22    ///         Publish menu. REG_SZ; required.
23    ///     IconPath - The path and resource ID for an icon to display with your plug-in. REG_SZ;
24    ///         optional.
25    ///
26    /// The following provides a sample plug-in registry entry, using "Your Publishing Plug-In" as
27    /// an example.
28    ///
29    ///     [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Live\PublishPlugins\YourPublishingPlugin]
30    ///     "AssemblyPath"="C:\\Program Files\\YourPublishingPlugin\\YourPublishingPlugIn.dll"
31    ///     "ClassName"="YourPublishingPlugin.PublishPlugin"
32    ///     "FriendlyName"="Your Publishing Plug-in"
33    ///     "IconPath"="C:\\Program Files\\YourPublishingPlugin\\YourPublishingPlugIn.dll,-32512"
34    /// </summary>
35    public class PiwigoPublishPlugin : IPublishPlugin
36    {
37
38        public bool HasPublishResults(System.Xml.XmlDocument sessionXml)
39        {
40            throw new NotImplementedException();
41        }
42
43        public bool HasSummaryInformation(System.Xml.XmlDocument sessionXml)
44        {
45            throw new NotImplementedException();
46        }
47
48        public void LaunchPublishResults(System.Xml.XmlDocument sessionXml)
49        {
50            throw new NotImplementedException();
51        }
52
53        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)
54        {
55            throw new NotImplementedException();
56        }
57
58        public bool ShowConfigurationSettings(System.Windows.Forms.IWin32Window parentWindow, System.Xml.XmlDocument sessionXml, System.Xml.XmlDocument persistXml, IPublishProperties publishProperties)
59        {
60            throw new NotImplementedException();
61        }
62
63        public void ShowSummaryInformation(System.Windows.Forms.IWin32Window parentWindow, System.Xml.XmlDocument sessionXml)
64        {
65            throw new NotImplementedException();
66        }
67    }
68}
Note: See TracBrowser for help on using the repository browser.