summaryrefslogtreecommitdiff
path: root/plugins/PasteIt/PasteToWeb2.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/PasteIt/PasteToWeb2.h')
-rw-r--r--plugins/PasteIt/PasteToWeb2.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/plugins/PasteIt/PasteToWeb2.h b/plugins/PasteIt/PasteToWeb2.h
new file mode 100644
index 0000000000..364c6eb4e4
--- /dev/null
+++ b/plugins/PasteIt/PasteToWeb2.h
@@ -0,0 +1,38 @@
+/*
+Paste It plugin
+Copyright (C) 2011 Krzysztof Kral
+
+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 version 2
+of the License.
+
+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, see <http://www.gnu.org/licenses/>.
+*/
+
+#pragma once
+#include "pastetoweb.h"
+class PasteToWeb2 :
+ public PasteToWeb
+{
+protected:
+ virtual void SendToServer(std::wstring str, std::wstring fileName, std::wstring format);
+ static PasteFormat defFormats[];
+public:
+ PasteToWeb2();
+ virtual ~PasteToWeb2();
+ virtual TCHAR* GetName()
+ {
+ return _T("wklej.to");
+ }
+ virtual void ConfigureSettings();
+ virtual std::list<PasteFormat> GetFormats();
+ virtual std::list<PasteFormat> GetDefFormats();
+};
+