Refactoring of the namespaces

This commit is contained in:
Robin Krom 2021-03-28 12:53:01 +02:00
parent c6bdaa8a87
commit 62bd0fe256
No known key found for this signature in database
GPG key ID: BCC01364F1371490
153 changed files with 223 additions and 260 deletions

View file

@ -19,13 +19,13 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
using System.Windows.Forms;
using GreenshotPlugin.Core;
using System; using System;
using GreenshotBoxPlugin.Forms; using System.Windows.Forms;
using Greenshot.Plugin.Box.Forms;
using GreenshotPlugin.Core;
using GreenshotPlugin.IniFile; using GreenshotPlugin.IniFile;
namespace GreenshotBoxPlugin { namespace Greenshot.Plugin.Box {
/// <summary> /// <summary>
/// Description of ImgurConfiguration. /// Description of ImgurConfiguration.
/// </summary> /// </summary>

View file

@ -18,12 +18,13 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
using System.ComponentModel; using System.ComponentModel;
using System.Drawing; using System.Drawing;
using GreenshotPlugin.Core; using GreenshotPlugin.Core;
using GreenshotPlugin.Interfaces; using GreenshotPlugin.Interfaces;
namespace GreenshotBoxPlugin { namespace Greenshot.Plugin.Box {
public class BoxDestination : AbstractDestination { public class BoxDestination : AbstractDestination {
private readonly BoxPlugin _plugin; private readonly BoxPlugin _plugin;
public BoxDestination(BoxPlugin plugin) { public BoxDestination(BoxPlugin plugin) {

View file

@ -18,10 +18,11 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
using System.Collections.Generic; using System.Collections.Generic;
using System.Runtime.Serialization; using System.Runtime.Serialization;
namespace GreenshotBoxPlugin { namespace Greenshot.Plugin.Box {
[DataContract] [DataContract]
public class Authorization { public class Authorization {
[DataMember(Name = "access_token")] [DataMember(Name = "access_token")]

View file

@ -18,6 +18,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
using System; using System;
using System.ComponentModel; using System.ComponentModel;
using System.Drawing; using System.Drawing;
@ -29,7 +30,7 @@ using GreenshotPlugin.IniFile;
using GreenshotPlugin.Interfaces; using GreenshotPlugin.Interfaces;
using GreenshotPlugin.Interfaces.Plugin; using GreenshotPlugin.Interfaces.Plugin;
namespace GreenshotBoxPlugin { namespace Greenshot.Plugin.Box {
/// <summary> /// <summary>
/// This is the Box base code /// This is the Box base code
/// </summary> /// </summary>

View file

@ -19,15 +19,15 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
using GreenshotPlugin.Core;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO; using System.IO;
using System.Runtime.Serialization.Json; using System.Runtime.Serialization.Json;
using System.Text; using System.Text;
using GreenshotPlugin.Core;
using GreenshotPlugin.Core.OAuth; using GreenshotPlugin.Core.OAuth;
using GreenshotPlugin.IniFile; using GreenshotPlugin.IniFile;
namespace GreenshotBoxPlugin { namespace Greenshot.Plugin.Box {
/// <summary> /// <summary>
/// Description of BoxUtils. /// Description of BoxUtils.

View file

@ -18,9 +18,10 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
using GreenshotPlugin.Controls; using GreenshotPlugin.Controls;
namespace GreenshotBoxPlugin.Forms { namespace Greenshot.Plugin.Box.Forms {
public class BoxForm : GreenshotForm { public class BoxForm : GreenshotForm {
} }
} }

View file

@ -18,7 +18,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
namespace GreenshotBoxPlugin.Forms { namespace Greenshot.Plugin.Box.Forms {
partial class SettingsForm { partial class SettingsForm {
/// <summary> /// <summary>
/// Designer variable used to keep track of non-visual components. /// Designer variable used to keep track of non-visual components.

View file

@ -19,7 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
namespace GreenshotBoxPlugin.Forms { namespace Greenshot.Plugin.Box.Forms {
/// <summary> /// <summary>
/// Description of PasswordRequestForm. /// Description of PasswordRequestForm.
/// </summary> /// </summary>

View file

@ -19,7 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
namespace GreenshotBoxPlugin { namespace Greenshot.Plugin.Box {
/// <summary> /// <summary>
/// This class is merely a placeholder for the file keeping the API key and secret for Box integration. /// This class is merely a placeholder for the file keeping the API key and secret for Box integration.
/// You can set your own values here /// You can set your own values here

View file

@ -1,10 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop"> <Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<RootNamespace>GreenshotBoxPlugin</RootNamespace>
<AssemblyName>GreenshotBoxPlugin</AssemblyName>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<None Include="Languages\language*.xml"> <None Include="Languages\language*.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

View file

@ -18,7 +18,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
namespace GreenshotBoxPlugin { namespace Greenshot.Plugin.Box {
public enum LangKey { public enum LangKey {
upload_menu_item, upload_menu_item,
upload_failure, upload_failure,

View file

@ -26,7 +26,7 @@ using GreenshotConfluencePlugin.confluence;
using GreenshotPlugin.Core; using GreenshotPlugin.Core;
using GreenshotPlugin.IniFile; using GreenshotPlugin.IniFile;
namespace GreenshotConfluencePlugin { namespace Greenshot.Plugin.Confluence {
public class Page { public class Page {
public Page(RemotePage page) { public Page(RemotePage page) {
Id = page.id; Id = page.id;

View file

@ -18,11 +18,12 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
using System; using System;
using GreenshotPlugin.Core; using GreenshotPlugin.Core;
using GreenshotPlugin.IniFile; using GreenshotPlugin.IniFile;
namespace GreenshotConfluencePlugin { namespace Greenshot.Plugin.Confluence {
/// <summary> /// <summary>
/// Description of ConfluenceConfiguration. /// Description of ConfluenceConfiguration.
/// </summary> /// </summary>

View file

@ -18,6 +18,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Diagnostics; using System.Diagnostics;
@ -31,7 +32,7 @@ using GreenshotPlugin.IniFile;
using GreenshotPlugin.Interfaces; using GreenshotPlugin.Interfaces;
using GreenshotPlugin.Interfaces.Plugin; using GreenshotPlugin.Interfaces.Plugin;
namespace GreenshotConfluencePlugin { namespace Greenshot.Plugin.Confluence {
/// <summary> /// <summary>
/// Description of ConfluenceDestination. /// Description of ConfluenceDestination.
/// </summary> /// </summary>

View file

@ -19,16 +19,16 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
using GreenshotPlugin.Core;
using System; using System;
using System.Windows; using System.Windows;
using GreenshotConfluencePlugin.Forms; using Greenshot.Plugin.Confluence.Forms;
using GreenshotConfluencePlugin.Support; using Greenshot.Plugin.Confluence.Support;
using GreenshotPlugin.Core;
using GreenshotPlugin.IniFile; using GreenshotPlugin.IniFile;
using GreenshotPlugin.Interfaces; using GreenshotPlugin.Interfaces;
using GreenshotPlugin.Interfaces.Plugin; using GreenshotPlugin.Interfaces.Plugin;
namespace GreenshotConfluencePlugin { namespace Greenshot.Plugin.Confluence {
/// <summary> /// <summary>
/// This is the ConfluencePlugin base code /// This is the ConfluencePlugin base code
/// </summary> /// </summary>

View file

@ -18,15 +18,15 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
using System.Windows.Automation; using System.Windows.Automation;
using GreenshotPlugin.Core; using GreenshotPlugin.Core;
namespace GreenshotConfluencePlugin { namespace Greenshot.Plugin.Confluence {
/// <summary> /// <summary>
/// Description of ConfluenceUtils. /// Description of ConfluenceUtils.
/// </summary> /// </summary>

View file

@ -18,6 +18,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
using System; using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
@ -25,10 +26,9 @@ using System.Collections.ObjectModel;
using System.Globalization; using System.Globalization;
using System.Reflection; using System.Reflection;
using System.Windows.Data; using System.Windows.Data;
using GreenshotPlugin.Core; using GreenshotPlugin.Core;
namespace GreenshotConfluencePlugin { namespace Greenshot.Plugin.Confluence {
public class EnumDisplayer : IValueConverter { public class EnumDisplayer : IValueConverter {
private Type _type; private Type _type;
private IDictionary _displayValues; private IDictionary _displayValues;

View file

@ -1,12 +1,13 @@
<Window x:Class="GreenshotConfluencePlugin.Forms.ConfluenceConfigurationForm" <Window x:Class="Greenshot.Plugin.Confluence.Forms.ConfluenceConfigurationForm"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:gscp="clr-namespace:GreenshotConfluencePlugin" xmlns:gscp="clr-namespace:GreenshotConfluencePlugin"
xmlns:gsc="clr-namespace:GreenshotPlugin.Core;assembly=GreenshotPlugin" xmlns:gsc="clr-namespace:GreenshotPlugin.Core;assembly=GreenshotPlugin"
xmlns:support="clr-namespace:GreenshotConfluencePlugin.Support" xmlns:support="clr-namespace:Greenshot.Plugin.Confluence.Support"
xmlns:confluence="clr-namespace:Greenshot.Plugin.Confluence"
Title="{support:Translate plugin_settings}" SizeToContent="WidthAndHeight" ResizeMode="NoResize" Icon="/GreenshotConfluencePlugin;component/Images/Confluence.ico"> Title="{support:Translate plugin_settings}" SizeToContent="WidthAndHeight" ResizeMode="NoResize" Icon="/GreenshotConfluencePlugin;component/Images/Confluence.ico">
<Window.Resources> <Window.Resources>
<gscp:EnumDisplayer Type="{x:Type gsc:OutputFormat}" x:Key="outputFormats"/> <confluence:EnumDisplayer Type="{x:Type gsc:OutputFormat}" x:Key="outputFormats"/>
</Window.Resources> </Window.Resources>
<StackPanel> <StackPanel>

View file

@ -21,7 +21,7 @@
using System.Windows; using System.Windows;
namespace GreenshotConfluencePlugin.Forms { namespace Greenshot.Plugin.Confluence.Forms {
/// <summary> /// <summary>
/// Interaction logic for ConfluenceConfigurationForm.xaml /// Interaction logic for ConfluenceConfigurationForm.xaml
/// </summary> /// </summary>

View file

@ -1,4 +1,4 @@
<Page x:Class="GreenshotConfluencePlugin.Forms.ConfluencePagePicker" <Page x:Class="Greenshot.Plugin.Confluence.Forms.ConfluencePagePicker"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Loaded="Page_Loaded"> Loaded="Page_Loaded">

View file

@ -21,7 +21,7 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace GreenshotConfluencePlugin.Forms { namespace Greenshot.Plugin.Confluence.Forms {
/// <summary> /// <summary>
/// Interaction logic for ConfluencePagePicker.xaml /// Interaction logic for ConfluencePagePicker.xaml
/// </summary> /// </summary>

View file

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Page x:Class="GreenshotConfluencePlugin.Forms.ConfluenceSearch" <Page x:Class="Greenshot.Plugin.Confluence.Forms.ConfluenceSearch"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:support="clr-namespace:GreenshotConfluencePlugin.Support" xmlns:support="clr-namespace:Greenshot.Plugin.Confluence.Support"
Loaded="Page_Loaded"> Loaded="Page_Loaded">
<Grid MaxHeight="500"> <Grid MaxHeight="500">
<Grid.ColumnDefinitions> <Grid.ColumnDefinitions>

View file

@ -25,7 +25,7 @@ using System.Linq;
using System.Windows; using System.Windows;
using GreenshotPlugin.IniFile; using GreenshotPlugin.IniFile;
namespace GreenshotConfluencePlugin.Forms { namespace Greenshot.Plugin.Confluence.Forms {
public partial class ConfluenceSearch public partial class ConfluenceSearch
{ {
private static readonly ConfluenceConfiguration ConfluenceConfig = IniConfig.GetIniSection<ConfluenceConfiguration>(); private static readonly ConfluenceConfiguration ConfluenceConfig = IniConfig.GetIniSection<ConfluenceConfiguration>();

View file

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Page x:Class="GreenshotConfluencePlugin.Forms.ConfluenceTreePicker" <Page x:Class="Greenshot.Plugin.Confluence.Forms.ConfluenceTreePicker"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:support="clr-namespace:GreenshotConfluencePlugin.Support" xmlns:support="clr-namespace:Greenshot.Plugin.Confluence.Support"
Loaded="Page_Loaded"> Loaded="Page_Loaded">
<Grid Width="500"> <Grid Width="500">
<TreeView Name="ConfluenceTreeView" MaxHeight="500" <TreeView Name="ConfluenceTreeView" MaxHeight="500"

View file

@ -27,7 +27,7 @@ using System.Windows.Controls;
using System.Windows.Input; using System.Windows.Input;
using System.Windows.Threading; using System.Windows.Threading;
namespace GreenshotConfluencePlugin.Forms { namespace Greenshot.Plugin.Confluence.Forms {
/// <summary> /// <summary>
/// Interaction logic for ConfluenceTreePicker.xaml /// Interaction logic for ConfluenceTreePicker.xaml
/// </summary> /// </summary>

View file

@ -1,7 +1,7 @@
<Window x:Class="GreenshotConfluencePlugin.Forms.ConfluenceUpload" <Window x:Class="Greenshot.Plugin.Confluence.Forms.ConfluenceUpload"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:support="clr-namespace:GreenshotConfluencePlugin.Support" xmlns:support="clr-namespace:Greenshot.Plugin.Confluence.Support"
Title="{support:Translate upload_menu_item}" Height="640" Width="500" Icon="/GreenshotConfluencePlugin;component/Images/Confluence.ico"> Title="{support:Translate upload_menu_item}" Height="640" Width="500" Icon="/GreenshotConfluencePlugin;component/Images/Confluence.ico">
<StackPanel> <StackPanel>
<TabControl> <TabControl>

View file

@ -25,7 +25,7 @@ using System.Linq;
using System.Threading; using System.Threading;
using System.Windows; using System.Windows;
namespace GreenshotConfluencePlugin.Forms { namespace Greenshot.Plugin.Confluence.Forms {
/// <summary> /// <summary>
/// Interaction logic for ConfluenceUpload.xaml /// Interaction logic for ConfluenceUpload.xaml
/// </summary> /// </summary>

View file

@ -1,10 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop"> <Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<RootNamespace>GreenshotConfluencePlugin</RootNamespace>
<AssemblyName>GreenshotConfluencePlugin</AssemblyName>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<None Include="Languages\language*.xml"> <None Include="Languages\language*.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

View file

@ -19,7 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
namespace GreenshotConfluencePlugin { namespace Greenshot.Plugin.Confluence {
public enum LangKey { public enum LangKey {
login_error, login_error,
upload_menu_item, upload_menu_item,

View file

@ -1,4 +1,4 @@
namespace GreenshotConfluencePlugin.Support { namespace Greenshot.Plugin.Confluence.Support {
public interface ITranslationProvider { public interface ITranslationProvider {
/// <summary> /// <summary>
/// Translates the specified key. /// Translates the specified key.

View file

@ -1,7 +1,7 @@
using System; using System;
using System.Windows; using System.Windows;
namespace GreenshotConfluencePlugin.Support namespace Greenshot.Plugin.Confluence.Support
{ {
public class LanguageChangedEventManager : WeakEventManager public class LanguageChangedEventManager : WeakEventManager
{ {

View file

@ -1,6 +1,6 @@
using GreenshotPlugin.Core; using GreenshotPlugin.Core;
namespace GreenshotConfluencePlugin.Support { namespace Greenshot.Plugin.Confluence.Support {
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>

View file

@ -2,7 +2,7 @@
using System.Windows.Data; using System.Windows.Data;
using System.Windows.Markup; using System.Windows.Markup;
namespace GreenshotConfluencePlugin.Support namespace Greenshot.Plugin.Confluence.Support
{ {
/// <summary> /// <summary>
/// The Translate Markup extension returns a binding to a TranslationData /// The Translate Markup extension returns a binding to a TranslationData

View file

@ -2,7 +2,7 @@
using System.ComponentModel; using System.ComponentModel;
using System.Windows; using System.Windows;
namespace GreenshotConfluencePlugin.Support { namespace Greenshot.Plugin.Confluence.Support {
public class TranslationData : IWeakEventListener, INotifyPropertyChanged { public class TranslationData : IWeakEventListener, INotifyPropertyChanged {
private readonly string _key; private readonly string _key;

View file

@ -1,6 +1,6 @@
using System; using System;
namespace GreenshotConfluencePlugin.Support { namespace Greenshot.Plugin.Confluence.Support {
public class TranslationManager { public class TranslationManager {
private static TranslationManager _translationManager; private static TranslationManager _translationManager;

View file

@ -18,13 +18,14 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
using System.ComponentModel; using System.ComponentModel;
using System.Drawing; using System.Drawing;
using GreenshotPlugin.Core; using GreenshotPlugin.Core;
using GreenshotPlugin.IniFile; using GreenshotPlugin.IniFile;
using GreenshotPlugin.Interfaces; using GreenshotPlugin.Interfaces;
namespace GreenshotDropboxPlugin { namespace Greenshot.Plugin.Dropbox {
internal class DropboxDestination : AbstractDestination { internal class DropboxDestination : AbstractDestination {
private static readonly DropboxPluginConfiguration DropboxConfig = IniConfig.GetIniSection<DropboxPluginConfiguration>(); private static readonly DropboxPluginConfiguration DropboxConfig = IniConfig.GetIniSection<DropboxPluginConfiguration>();

View file

@ -18,6 +18,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
using System; using System;
using System.ComponentModel; using System.ComponentModel;
using System.Drawing; using System.Drawing;
@ -28,7 +29,7 @@ using GreenshotPlugin.IniFile;
using GreenshotPlugin.Interfaces; using GreenshotPlugin.Interfaces;
using GreenshotPlugin.Interfaces.Plugin; using GreenshotPlugin.Interfaces.Plugin;
namespace GreenshotDropboxPlugin { namespace Greenshot.Plugin.Dropbox {
/// <summary> /// <summary>
/// This is the Dropbox base code /// This is the Dropbox base code
/// </summary> /// </summary>

View file

@ -21,12 +21,11 @@
using System; using System;
using System.Windows.Forms; using System.Windows.Forms;
using GreenshotDropboxPlugin.Forms; using Greenshot.Plugin.Dropbox.Forms;
using GreenshotPlugin.Core; using GreenshotPlugin.Core;
using GreenshotPlugin.IniFile; using GreenshotPlugin.IniFile;
namespace Greenshot.Plugin.Dropbox {
namespace GreenshotDropboxPlugin {
/// <summary> /// <summary>
/// Description of ImgurConfiguration. /// Description of ImgurConfiguration.
/// </summary> /// </summary>

View file

@ -18,6 +18,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO; using System.IO;
@ -28,7 +29,7 @@ using GreenshotPlugin.Interfaces;
using GreenshotPlugin.Interfaces.Plugin; using GreenshotPlugin.Interfaces.Plugin;
using Newtonsoft.Json; using Newtonsoft.Json;
namespace GreenshotDropboxPlugin { namespace Greenshot.Plugin.Dropbox {
/// <summary> /// <summary>
/// Description of DropboxUtils. /// Description of DropboxUtils.
/// </summary> /// </summary>

View file

@ -21,7 +21,7 @@
using GreenshotPlugin.Controls; using GreenshotPlugin.Controls;
namespace GreenshotDropboxPlugin.Forms { namespace Greenshot.Plugin.Dropbox.Forms {
public class DropboxForm : GreenshotForm { public class DropboxForm : GreenshotForm {
} }
} }

View file

@ -18,7 +18,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
namespace GreenshotDropboxPlugin.Forms { namespace Greenshot.Plugin.Dropbox.Forms {
partial class SettingsForm { partial class SettingsForm {
/// <summary> /// <summary>
/// Designer variable used to keep track of non-visual components. /// Designer variable used to keep track of non-visual components.

View file

@ -19,7 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
namespace GreenshotDropboxPlugin.Forms { namespace Greenshot.Plugin.Dropbox.Forms {
/// <summary> /// <summary>
/// Description of PasswordRequestForm. /// Description of PasswordRequestForm.
/// </summary> /// </summary>

View file

@ -19,7 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
namespace GreenshotDropboxPlugin { namespace Greenshot.Plugin.Dropbox {
/// <summary> /// <summary>
/// This class is merely a placeholder for the file keeping the API key and secret for dropbox integration. /// This class is merely a placeholder for the file keeping the API key and secret for dropbox integration.
/// You can set your own values here /// You can set your own values here

View file

@ -1,10 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop"> <Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<RootNamespace>GreenshotDropboxPlugin</RootNamespace>
<AssemblyName>GreenshotDropboxPlugin</AssemblyName>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<None Include="Languages\language*.xml"> <None Include="Languages\language*.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

View file

@ -18,7 +18,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
namespace GreenshotDropboxPlugin { namespace Greenshot.Plugin.Dropbox {
public enum LangKey { public enum LangKey {
upload_menu_item, upload_menu_item,
upload_failure, upload_failure,

View file

@ -25,7 +25,7 @@ using System.IO;
using GreenshotPlugin.Core; using GreenshotPlugin.Core;
using GreenshotPlugin.IniFile; using GreenshotPlugin.IniFile;
namespace GreenshotExternalCommandPlugin { namespace Greenshot.Plugin.ExternalCommand {
/// <summary> /// <summary>
/// Description of FlickrConfiguration. /// Description of FlickrConfiguration.
/// </summary> /// </summary>

View file

@ -31,7 +31,7 @@ using GreenshotPlugin.IniFile;
using GreenshotPlugin.Interfaces; using GreenshotPlugin.Interfaces;
using GreenshotPlugin.Interfaces.Plugin; using GreenshotPlugin.Interfaces.Plugin;
namespace GreenshotExternalCommandPlugin { namespace Greenshot.Plugin.ExternalCommand {
/// <summary> /// <summary>
/// Description of OCRDestination. /// Description of OCRDestination.
/// </summary> /// </summary>

View file

@ -21,7 +21,7 @@
using GreenshotPlugin.Controls; using GreenshotPlugin.Controls;
namespace GreenshotExternalCommandPlugin { namespace Greenshot.Plugin.ExternalCommand {
/// <summary> /// <summary>
/// This class is needed for design-time resolving of the language files /// This class is needed for design-time resolving of the language files
/// </summary> /// </summary>

View file

@ -29,7 +29,7 @@ using GreenshotPlugin.IniFile;
using GreenshotPlugin.Interfaces; using GreenshotPlugin.Interfaces;
using GreenshotPlugin.Interfaces.Plugin; using GreenshotPlugin.Interfaces.Plugin;
namespace GreenshotExternalCommandPlugin namespace Greenshot.Plugin.ExternalCommand
{ {
/// <summary> /// <summary>
/// An Plugin to run commands after an image was written /// An Plugin to run commands after an image was written

View file

@ -1,10 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop"> <Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<RootNamespace>GreenshotExternalCommandPlugin</RootNamespace>
<AssemblyName>GreenshotExternalCommandPlugin</AssemblyName>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<None Include="Languages\language*.xml"> <None Include="Languages\language*.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

View file

@ -25,7 +25,7 @@ using System.IO;
using GreenshotPlugin.Core; using GreenshotPlugin.Core;
using GreenshotPlugin.IniFile; using GreenshotPlugin.IniFile;
namespace GreenshotExternalCommandPlugin { namespace Greenshot.Plugin.ExternalCommand {
public static class IconCache { public static class IconCache {
private static readonly ExternalCommandConfiguration config = IniConfig.GetIniSection<ExternalCommandConfiguration>(); private static readonly ExternalCommandConfiguration config = IniConfig.GetIniSection<ExternalCommandConfiguration>();
private static readonly log4net.ILog LOG = log4net.LogManager.GetLogger(typeof(IconCache)); private static readonly log4net.ILog LOG = log4net.LogManager.GetLogger(typeof(IconCache));

View file

@ -18,7 +18,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
namespace GreenshotExternalCommandPlugin { namespace Greenshot.Plugin.ExternalCommand {
partial class SettingsForm { partial class SettingsForm {
/// <summary> /// <summary>
/// Designer variable used to keep track of non-visual components. /// Designer variable used to keep track of non-visual components.

View file

@ -24,7 +24,7 @@ using System.Drawing;
using System.Windows.Forms; using System.Windows.Forms;
using GreenshotPlugin.IniFile; using GreenshotPlugin.IniFile;
namespace GreenshotExternalCommandPlugin { namespace Greenshot.Plugin.ExternalCommand {
/// <summary> /// <summary>
/// Description of SettingsForm. /// Description of SettingsForm.
/// </summary> /// </summary>

View file

@ -18,7 +18,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
namespace GreenshotExternalCommandPlugin { namespace Greenshot.Plugin.ExternalCommand {
partial class SettingsFormDetail { partial class SettingsFormDetail {
/// <summary> /// <summary>
/// Designer variable used to keep track of non-visual components. /// Designer variable used to keep track of non-visual components.

View file

@ -26,7 +26,7 @@ using System.Windows.Forms;
using GreenshotPlugin.Core; using GreenshotPlugin.Core;
using GreenshotPlugin.IniFile; using GreenshotPlugin.IniFile;
namespace GreenshotExternalCommandPlugin { namespace Greenshot.Plugin.ExternalCommand {
/// <summary> /// <summary>
/// Description of SettingsFormDetail. /// Description of SettingsFormDetail.
/// </summary> /// </summary>

View file

@ -18,12 +18,13 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
using System.Windows.Forms; using System.Windows.Forms;
using GreenshotFlickrPlugin.Forms; using Greenshot.Plugin.Flickr.Forms;
using GreenshotPlugin.Core; using GreenshotPlugin.Core;
using GreenshotPlugin.IniFile; using GreenshotPlugin.IniFile;
namespace GreenshotFlickrPlugin { namespace Greenshot.Plugin.Flickr {
public enum SafetyLevel { public enum SafetyLevel {
Safe = 1, Safe = 1,
Moderate = 2, Moderate = 2,

View file

@ -18,12 +18,13 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
using System.ComponentModel; using System.ComponentModel;
using System.Drawing; using System.Drawing;
using GreenshotPlugin.Core; using GreenshotPlugin.Core;
using GreenshotPlugin.Interfaces; using GreenshotPlugin.Interfaces;
namespace GreenshotFlickrPlugin { namespace Greenshot.Plugin.Flickr {
public class FlickrDestination : AbstractDestination { public class FlickrDestination : AbstractDestination {
private readonly FlickrPlugin _plugin; private readonly FlickrPlugin _plugin;
public FlickrDestination(FlickrPlugin plugin) { public FlickrDestination(FlickrPlugin plugin) {

View file

@ -31,7 +31,7 @@ using GreenshotPlugin.Interfaces;
using GreenshotPlugin.Interfaces.Plugin; using GreenshotPlugin.Interfaces.Plugin;
using log4net; using log4net;
namespace GreenshotFlickrPlugin namespace Greenshot.Plugin.Flickr
{ {
/// <summary> /// <summary>
/// This is the Flickr base code /// This is the Flickr base code

View file

@ -30,7 +30,7 @@ using GreenshotPlugin.Interfaces;
using GreenshotPlugin.Interfaces.Plugin; using GreenshotPlugin.Interfaces.Plugin;
using log4net; using log4net;
namespace GreenshotFlickrPlugin { namespace Greenshot.Plugin.Flickr {
/// <summary> /// <summary>
/// Description of FlickrUtils. /// Description of FlickrUtils.
/// </summary> /// </summary>

View file

@ -21,7 +21,7 @@
using GreenshotPlugin.Controls; using GreenshotPlugin.Controls;
namespace GreenshotFlickrPlugin.Forms { namespace Greenshot.Plugin.Flickr.Forms {
public class FlickrForm : GreenshotForm { public class FlickrForm : GreenshotForm {
} }
} }

View file

@ -18,7 +18,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
namespace GreenshotFlickrPlugin.Forms { namespace Greenshot.Plugin.Flickr.Forms {
partial class SettingsForm { partial class SettingsForm {
/// <summary> /// <summary>
/// Designer variable used to keep track of non-visual components. /// Designer variable used to keep track of non-visual components.

View file

@ -19,7 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
namespace GreenshotFlickrPlugin.Forms { namespace Greenshot.Plugin.Flickr.Forms {
/// <summary> /// <summary>
/// Description of PasswordRequestForm. /// Description of PasswordRequestForm.
/// </summary> /// </summary>

View file

@ -19,7 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
namespace GreenshotFlickrPlugin { namespace Greenshot.Plugin.Flickr {
/// <summary> /// <summary>
/// This class is merely a placeholder for the file keeping the API key and secret for dropbox integration. /// This class is merely a placeholder for the file keeping the API key and secret for dropbox integration.
/// You can set your own values here /// You can set your own values here

View file

@ -1,10 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop"> <Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<RootNamespace>GreenshotFlickrPlugin</RootNamespace>
<AssemblyName>GreenshotFlickrPlugin</AssemblyName>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<None Include="Languages\language*.xml"> <None Include="Languages\language*.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

View file

@ -18,7 +18,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
namespace GreenshotFlickrPlugin { namespace Greenshot.Plugin.Flickr {
public enum LangKey { public enum LangKey {
upload_menu_item, upload_menu_item,
upload_failure, upload_failure,

View file

@ -20,7 +20,7 @@
using GreenshotPlugin.Controls; using GreenshotPlugin.Controls;
namespace GreenshotGooglePhotosPlugin.Forms { namespace Greenshot.Plugin.GooglePhotos.Forms {
public class GooglePhotosForm : GreenshotForm { public class GooglePhotosForm : GreenshotForm {
} }
} }

View file

@ -17,7 +17,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
namespace GreenshotGooglePhotosPlugin.Forms { namespace Greenshot.Plugin.GooglePhotos.Forms {
partial class SettingsForm { partial class SettingsForm {
/// <summary> /// <summary>
/// Designer variable used to keep track of non-visual components. /// Designer variable used to keep track of non-visual components.

View file

@ -18,7 +18,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
namespace GreenshotGooglePhotosPlugin.Forms { namespace Greenshot.Plugin.GooglePhotos.Forms {
/// <summary> /// <summary>
/// Description of PasswordRequestForm. /// Description of PasswordRequestForm.
/// </summary> /// </summary>

View file

@ -17,13 +17,14 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
using System.Windows.Forms;
using GreenshotPlugin.Core;
using System; using System;
using GreenshotGooglePhotosPlugin.Forms; using System.Windows.Forms;
using Greenshot.Plugin.GooglePhotos.Forms;
using GreenshotPlugin.Core;
using GreenshotPlugin.IniFile; using GreenshotPlugin.IniFile;
namespace GreenshotGooglePhotosPlugin { namespace Greenshot.Plugin.GooglePhotos {
/// <summary> /// <summary>
/// Description of GooglePhotosConfiguration. /// Description of GooglePhotosConfiguration.
/// </summary> /// </summary>

View file

@ -17,12 +17,13 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
using System.ComponentModel; using System.ComponentModel;
using System.Drawing; using System.Drawing;
using GreenshotPlugin.Core; using GreenshotPlugin.Core;
using GreenshotPlugin.Interfaces; using GreenshotPlugin.Interfaces;
namespace GreenshotGooglePhotosPlugin { namespace Greenshot.Plugin.GooglePhotos {
public class GooglePhotosDestination : AbstractDestination { public class GooglePhotosDestination : AbstractDestination {
private readonly GooglePhotosPlugin _plugin; private readonly GooglePhotosPlugin _plugin;
public GooglePhotosDestination(GooglePhotosPlugin plugin) { public GooglePhotosDestination(GooglePhotosPlugin plugin) {

View file

@ -17,6 +17,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
using System; using System;
using System.ComponentModel; using System.ComponentModel;
using System.Drawing; using System.Drawing;
@ -28,7 +29,7 @@ using GreenshotPlugin.IniFile;
using GreenshotPlugin.Interfaces; using GreenshotPlugin.Interfaces;
using GreenshotPlugin.Interfaces.Plugin; using GreenshotPlugin.Interfaces.Plugin;
namespace GreenshotGooglePhotosPlugin { namespace Greenshot.Plugin.GooglePhotos {
/// <summary> /// <summary>
/// This is the GooglePhotos base code /// This is the GooglePhotos base code
/// </summary> /// </summary>

View file

@ -18,15 +18,15 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
using GreenshotPlugin.Core;
using System; using System;
using System.Xml; using System.Xml;
using GreenshotPlugin.Core;
using GreenshotPlugin.Core.OAuth; using GreenshotPlugin.Core.OAuth;
using GreenshotPlugin.IniFile; using GreenshotPlugin.IniFile;
using GreenshotPlugin.Interfaces; using GreenshotPlugin.Interfaces;
using GreenshotPlugin.Interfaces.Plugin; using GreenshotPlugin.Interfaces.Plugin;
namespace GreenshotGooglePhotosPlugin { namespace Greenshot.Plugin.GooglePhotos {
/// <summary> /// <summary>
/// Description of GooglePhotosUtils. /// Description of GooglePhotosUtils.
/// </summary> /// </summary>

View file

@ -19,7 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
namespace GreenshotGooglePhotosPlugin { namespace Greenshot.Plugin.GooglePhotos {
/// <summary> /// <summary>
/// This class is merely a placeholder for the file keeping the API key and secret for dropbox integration. /// This class is merely a placeholder for the file keeping the API key and secret for dropbox integration.
/// You can set your own values here /// You can set your own values here

View file

@ -6,7 +6,7 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<EmbeddedResource Include="GooglePhotos.png" /> <EmbeddedResource Include="GooglePhotos.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

View file

@ -18,7 +18,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
namespace GreenshotGooglePhotosPlugin { namespace Greenshot.Plugin.GooglePhotos {
public enum LangKey public enum LangKey
{ {
upload_menu_item, upload_menu_item,

View file

@ -21,7 +21,7 @@
using GreenshotPlugin.Controls; using GreenshotPlugin.Controls;
namespace GreenshotImgurPlugin.Forms { namespace Greenshot.Plugin.Imgur.Forms {
/// <summary> /// <summary>
/// This class is needed for design-time resolving of the language files /// This class is needed for design-time resolving of the language files
/// </summary> /// </summary>

View file

@ -18,7 +18,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
namespace GreenshotImgurPlugin.Forms namespace Greenshot.Plugin.Imgur.Forms
{ {
partial class ImgurHistory partial class ImgurHistory
{ {

View file

@ -27,7 +27,7 @@ using GreenshotPlugin.Controls;
using GreenshotPlugin.Core; using GreenshotPlugin.Core;
using GreenshotPlugin.IniFile; using GreenshotPlugin.IniFile;
namespace GreenshotImgurPlugin.Forms { namespace Greenshot.Plugin.Imgur.Forms {
/// <summary> /// <summary>
/// Imgur history form /// Imgur history form
/// </summary> /// </summary>

View file

@ -18,7 +18,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
namespace GreenshotImgurPlugin.Forms { namespace Greenshot.Plugin.Imgur.Forms {
partial class SettingsForm { partial class SettingsForm {
/// <summary> /// <summary>
/// Designer variable used to keep track of non-visual components. /// Designer variable used to keep track of non-visual components.

View file

@ -21,7 +21,7 @@
using System; using System;
namespace GreenshotImgurPlugin.Forms { namespace Greenshot.Plugin.Imgur.Forms {
/// <summary> /// <summary>
/// Description of PasswordRequestForm. /// Description of PasswordRequestForm.
/// </summary> /// </summary>

View file

@ -19,7 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
namespace GreenshotImgurPlugin { namespace Greenshot.Plugin.Imgur {
/// <summary> /// <summary>
/// This class is merely a placeholder for the file keeping the API key and secret for imgur integration. /// This class is merely a placeholder for the file keeping the API key and secret for imgur integration.
/// You can set your own values here /// You can set your own values here

View file

@ -1,10 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop"> <Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<RootNamespace>GreenshotImgurPlugin</RootNamespace>
<AssemblyName>GreenshotImgurPlugin</AssemblyName>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<None Include="Languages\language*.xml"> <None Include="Languages\language*.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

View file

@ -22,11 +22,11 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Windows.Forms; using System.Windows.Forms;
using GreenshotImgurPlugin.Forms; using Greenshot.Plugin.Imgur.Forms;
using GreenshotPlugin.Core; using GreenshotPlugin.Core;
using GreenshotPlugin.IniFile; using GreenshotPlugin.IniFile;
namespace GreenshotImgurPlugin { namespace Greenshot.Plugin.Imgur {
/// <summary> /// <summary>
/// Description of ImgurConfiguration. /// Description of ImgurConfiguration.
/// </summary> /// </summary>

View file

@ -18,12 +18,13 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
using System.ComponentModel; using System.ComponentModel;
using System.Drawing; using System.Drawing;
using GreenshotPlugin.Core; using GreenshotPlugin.Core;
using GreenshotPlugin.Interfaces; using GreenshotPlugin.Interfaces;
namespace GreenshotImgurPlugin { namespace Greenshot.Plugin.Imgur {
/// <summary> /// <summary>
/// Description of ImgurDestination. /// Description of ImgurDestination.
/// </summary> /// </summary>

View file

@ -18,11 +18,12 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
using System; using System;
using System.Drawing; using System.Drawing;
using System.Xml; using System.Xml;
namespace GreenshotImgurPlugin namespace Greenshot.Plugin.Imgur
{ {
/// <summary> /// <summary>
/// Description of ImgurInfo. /// Description of ImgurInfo.

View file

@ -18,20 +18,21 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;
using System.Drawing; using System.Drawing;
using System.IO; using System.IO;
using System.Windows.Forms; using System.Windows.Forms;
using GreenshotImgurPlugin.Forms; using Greenshot.Plugin.Imgur.Forms;
using GreenshotPlugin.Controls; using GreenshotPlugin.Controls;
using GreenshotPlugin.Core; using GreenshotPlugin.Core;
using GreenshotPlugin.IniFile; using GreenshotPlugin.IniFile;
using GreenshotPlugin.Interfaces; using GreenshotPlugin.Interfaces;
using GreenshotPlugin.Interfaces.Plugin; using GreenshotPlugin.Interfaces.Plugin;
namespace GreenshotImgurPlugin { namespace Greenshot.Plugin.Imgur {
/// <summary> /// <summary>
/// This is the ImgurPlugin code /// This is the ImgurPlugin code
/// </summary> /// </summary>

View file

@ -18,6 +18,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO; using System.IO;
@ -29,7 +30,7 @@ using GreenshotPlugin.IniFile;
using GreenshotPlugin.Interfaces; using GreenshotPlugin.Interfaces;
using GreenshotPlugin.Interfaces.Plugin; using GreenshotPlugin.Interfaces.Plugin;
namespace GreenshotImgurPlugin { namespace Greenshot.Plugin.Imgur {
/// <summary> /// <summary>
/// A collection of Imgur helper methods /// A collection of Imgur helper methods
/// </summary> /// </summary>

View file

@ -19,7 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
namespace GreenshotImgurPlugin { namespace Greenshot.Plugin.Imgur {
public enum LangKey { public enum LangKey {
upload_menu_item, upload_menu_item,
upload_failure, upload_failure,

View file

@ -25,8 +25,7 @@ using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using Dapplo.Log; using Dapplo.Log;
namespace Greenshot.Plugin.Jira
namespace GreenshotJiraPlugin
{ {
/// <summary> /// <summary>
/// This abstract class builds a base for a simple async memory cache. /// This abstract class builds a base for a simple async memory cache.

View file

@ -18,7 +18,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
namespace GreenshotJiraPlugin.Forms { namespace Greenshot.Plugin.Jira.Forms {
partial class JiraForm { partial class JiraForm {
/// <summary> /// <summary>
/// Required designer variable. /// Required designer variable.

View file

@ -20,17 +20,17 @@
*/ */
using System; using System;
using System.Windows.Forms;
using Dapplo.Jira.Entities;
using GreenshotPlugin.Controls;
using GreenshotPlugin.Core;
using System.Collections.Generic; using System.Collections.Generic;
using System.Globalization; using System.Globalization;
using System.Linq; using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
using System.Windows.Forms;
using Dapplo.Jira.Entities;
using GreenshotPlugin.Controls;
using GreenshotPlugin.Core;
using GreenshotPlugin.IniFile; using GreenshotPlugin.IniFile;
namespace GreenshotJiraPlugin.Forms { namespace Greenshot.Plugin.Jira.Forms {
public partial class JiraForm : Form { public partial class JiraForm : Form {
private static readonly log4net.ILog Log = log4net.LogManager.GetLogger(typeof(JiraForm)); private static readonly log4net.ILog Log = log4net.LogManager.GetLogger(typeof(JiraForm));
private readonly JiraConnector _jiraConnector; private readonly JiraConnector _jiraConnector;

View file

@ -21,7 +21,7 @@
using GreenshotPlugin.Controls; using GreenshotPlugin.Controls;
namespace GreenshotJiraPlugin.Forms { namespace Greenshot.Plugin.Jira.Forms {
public class JiraFormBase : GreenshotForm { public class JiraFormBase : GreenshotForm {
} }
} }

View file

@ -18,7 +18,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
namespace GreenshotJiraPlugin.Forms { namespace Greenshot.Plugin.Jira.Forms {
partial class SettingsForm { partial class SettingsForm {
/// <summary> /// <summary>
/// Designer variable used to keep track of non-visual components. /// Designer variable used to keep track of non-visual components.

View file

@ -19,7 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
namespace GreenshotJiraPlugin.Forms { namespace Greenshot.Plugin.Jira.Forms {
/// <summary> /// <summary>
/// Description of PasswordRequestForm. /// Description of PasswordRequestForm.
/// </summary> /// </summary>

View file

@ -1,10 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop"> <Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<RootNamespace>GreenshotJiraPlugin</RootNamespace>
<AssemblyName>GreenshotJiraPlugin</AssemblyName>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<None Include="Languages\language*.xml"> <None Include="Languages\language*.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

View file

@ -26,7 +26,7 @@ using System.Threading.Tasks;
using Dapplo.Jira; using Dapplo.Jira;
using Dapplo.Jira.Entities; using Dapplo.Jira.Entities;
namespace GreenshotJiraPlugin namespace Greenshot.Plugin.Jira
{ {
/// <summary> /// <summary>
/// This is the bach for the IssueType bitmaps /// This is the bach for the IssueType bitmaps

View file

@ -22,7 +22,7 @@
using GreenshotPlugin.Core; using GreenshotPlugin.Core;
using GreenshotPlugin.IniFile; using GreenshotPlugin.IniFile;
namespace GreenshotJiraPlugin { namespace Greenshot.Plugin.Jira {
/// <summary> /// <summary>
/// Description of JiraConfiguration. /// Description of JiraConfiguration.
/// </summary> /// </summary>

View file

@ -34,7 +34,7 @@ using Dapplo.Jira.SvgWinForms.Converters;
using GreenshotPlugin.Core; using GreenshotPlugin.Core;
using GreenshotPlugin.IniFile; using GreenshotPlugin.IniFile;
namespace GreenshotJiraPlugin { namespace Greenshot.Plugin.Jira {
/// <summary> /// <summary>
/// This encapsulates the JiraClient to make it possible to change as less old Greenshot code as needed /// This encapsulates the JiraClient to make it possible to change as less old Greenshot code as needed
/// </summary> /// </summary>

View file

@ -27,14 +27,14 @@ using System.IO;
using System.Windows.Forms; using System.Windows.Forms;
using Dapplo.HttpExtensions; using Dapplo.HttpExtensions;
using Dapplo.Jira.Entities; using Dapplo.Jira.Entities;
using GreenshotJiraPlugin.Forms; using Greenshot.Plugin.Jira.Forms;
using GreenshotPlugin.Controls; using GreenshotPlugin.Controls;
using GreenshotPlugin.Core; using GreenshotPlugin.Core;
using GreenshotPlugin.IniFile; using GreenshotPlugin.IniFile;
using GreenshotPlugin.Interfaces; using GreenshotPlugin.Interfaces;
using GreenshotPlugin.Interfaces.Plugin; using GreenshotPlugin.Interfaces.Plugin;
namespace GreenshotJiraPlugin { namespace Greenshot.Plugin.Jira {
/// <summary> /// <summary>
/// Description of JiraDestination. /// Description of JiraDestination.
/// </summary> /// </summary>

View file

@ -22,7 +22,7 @@
using System; using System;
using Dapplo.Jira.Entities; using Dapplo.Jira.Entities;
namespace GreenshotJiraPlugin namespace Greenshot.Plugin.Jira
{ {
public class JiraDetails : IComparable<JiraDetails> public class JiraDetails : IComparable<JiraDetails>
{ {

Some files were not shown because too many files have changed in this diff Show more