From 800977cac25655bdd87a78312a0c08c7b06d7344 Mon Sep 17 00:00:00 2001 From: Scratch Date: Sat, 3 Oct 2015 13:29:23 +1000 Subject: [PATCH] partial support --- ShareX.UploadersLib/Enums.cs | 2 ++ ShareX.UploadersLib/FileUploaders/PomfCat.cs | 36 +++++++++++++++++++ .../ShareX.UploadersLib.csproj | 1 + 3 files changed, 39 insertions(+) create mode 100644 ShareX.UploadersLib/FileUploaders/PomfCat.cs diff --git a/ShareX.UploadersLib/Enums.cs b/ShareX.UploadersLib/Enums.cs index e9bb73119..d22fbf490 100644 --- a/ShareX.UploadersLib/Enums.cs +++ b/ShareX.UploadersLib/Enums.cs @@ -126,6 +126,8 @@ public enum FileDestination VideoBin, [Description("MaxFile")] MaxFile, + [Description("Pomf.cat")] + PomfCat, [Description("Dropfile")] Dropfile, [Description("Up1")] diff --git a/ShareX.UploadersLib/FileUploaders/PomfCat.cs b/ShareX.UploadersLib/FileUploaders/PomfCat.cs new file mode 100644 index 000000000..ec1e43105 --- /dev/null +++ b/ShareX.UploadersLib/FileUploaders/PomfCat.cs @@ -0,0 +1,36 @@ +#region License Information (GPL v3) + +/* + ShareX - A program that allows you to take screenshots and share any file type + Copyright (c) 2007-2015 ShareX Team + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + Optionally you can also view the license at . +*/ + +#endregion License Information (GPL v3) + +namespace ShareX.UploadersLib.FileUploaders +{ + public sealed class PomfCat : Pomf + { + public PomfCat() + { + UploadURL = "https://pomf.cat/static/upload.php"; + ResultURL = "https://a.pomf.cat"; + } + } +} \ No newline at end of file diff --git a/ShareX.UploadersLib/ShareX.UploadersLib.csproj b/ShareX.UploadersLib/ShareX.UploadersLib.csproj index 003e96f67..e9e11aaf3 100644 --- a/ShareX.UploadersLib/ShareX.UploadersLib.csproj +++ b/ShareX.UploadersLib/ShareX.UploadersLib.csproj @@ -138,6 +138,7 @@ +