diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-07-02 08:36:04 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-07-02 08:36:04 +0000 |
commit | 960bb20ccd3c375bcfc8b642fcbe89feaf143b22 (patch) | |
tree | 4fb859975861780dfc932e19513d9efd139924b1 /plugins/PasteIt/PasteToWeb1.h | |
parent | 61930b2a3c3fcbd8f40284ac77902806b2b3b493 (diff) |
only add PasteIt, not adapted
git-svn-id: http://svn.miranda-ng.org/main/trunk@712 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PasteIt/PasteToWeb1.h')
-rw-r--r-- | plugins/PasteIt/PasteToWeb1.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/plugins/PasteIt/PasteToWeb1.h b/plugins/PasteIt/PasteToWeb1.h new file mode 100644 index 0000000000..b1611855d6 --- /dev/null +++ b/plugins/PasteIt/PasteToWeb1.h @@ -0,0 +1,40 @@ +/*
+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 PasteToWeb1 :
+ public PasteToWeb
+{
+protected:
+ virtual void SendToServer(std::wstring str, std::wstring fileName, std::wstring format);
+ static PasteFormat formats[];
+ static PasteFormat defFormats[];
+public:
+ PasteToWeb1();
+ virtual ~PasteToWeb1();
+ virtual TCHAR* GetName()
+ {
+ return _T("pastebin.com");
+ }
+ virtual void ConfigureSettings();
+ virtual std::list<PasteFormat> GetFormats();
+ virtual std::list<PasteFormat> GetDefFormats();
+ std::wstring GetUserKey(std::wstring& user, std::wstring& password);
+};
+
|