mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -07:00
Refactored the Office Destinations, including the Interop & configuration, to the new Office plug-in. Also refactored some code to be more consistent.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2131 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
5714b59a14
commit
4d399a60ac
34 changed files with 739 additions and 365 deletions
|
@ -74,8 +74,8 @@ namespace Greenshot.Helpers {
|
|||
/// <returns>List<IDestination></returns>
|
||||
private static List<IDestination> GetPluginDestinations() {
|
||||
List<IDestination> destinations = new List<IDestination>();
|
||||
foreach (PluginAttribute pluginAttribute in PluginHelper.instance.Plugins.Keys) {
|
||||
IGreenshotPlugin plugin = PluginHelper.instance.Plugins[pluginAttribute];
|
||||
foreach (PluginAttribute pluginAttribute in PluginHelper.Instance.Plugins.Keys) {
|
||||
IGreenshotPlugin plugin = PluginHelper.Instance.Plugins[pluginAttribute];
|
||||
try {
|
||||
var dests = plugin.Destinations();
|
||||
if (dests != null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue