summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-12 11:59:23 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-12 11:59:23 +0000
commite528a508b7e307bd35b142b269a0bbd1b6813e89 (patch)
treee7e0a45738745420c563b141398e60d51558b46c /protocols/VKontakte/src/vk.h
parent484267e90233bcef4ed9bda249053f5657b3974d (diff)
VKontakte:
- completely rewritten schema of pushing requests; - typed http parameters insted of old strings git-svn-id: http://svn.miranda-ng.org/main/trunk@7613 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk.h')
-rw-r--r--protocols/VKontakte/src/vk.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/protocols/VKontakte/src/vk.h b/protocols/VKontakte/src/vk.h
index ee882de9d9..0a2058b874 100644
--- a/protocols/VKontakte/src/vk.h
+++ b/protocols/VKontakte/src/vk.h
@@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#define VK_APP_ID "3917910"
+#define VK_APP_ID 3917910
#define VKPOLL_MSG_REMOVED 0
#define VKPOLL_MSG_NEWFLAGS 1
@@ -40,10 +40,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define VKFLAG_MSGFIXED 256 // сообщение проверено пользователем на спам
#define VKFLAG_MSGMEDIA 512 // сообщение содержит медиаконтент
-struct HttpParam
-{
- LPCSTR szName, szValue;
-};
+#if defined(_DEBUG)
+ #define VK_NODUMPHEADERS 0
+#else
+ #define VK_NODUMPHEADERS NLHRF_NODUMPHEADERS
+#endif
extern HINSTANCE hInst;