diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-07-23 12:21:37 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-07-23 12:21:37 +0000 |
commit | 7a8e3055b162b2572152ed951ebcefd60182edbc (patch) | |
tree | 415d5bc98ce406df04f8e9b19de99a10e1c275a1 /plugins/PasteIt/src/PasteToWeb1.h | |
parent | 177c84716db384c8be095219c58d0a68f87101fe (diff) |
PasteIt, PopUp, ProfileManager: changed folder structure
git-svn-id: http://svn.miranda-ng.org/main/trunk@1117 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PasteIt/src/PasteToWeb1.h')
-rw-r--r-- | plugins/PasteIt/src/PasteToWeb1.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/plugins/PasteIt/src/PasteToWeb1.h b/plugins/PasteIt/src/PasteToWeb1.h new file mode 100644 index 0000000000..b1611855d6 --- /dev/null +++ b/plugins/PasteIt/src/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);
+};
+
|