diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-12-10 14:39:15 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-12-10 14:39:15 +0000 |
commit | ac74105b7a7681dcd104768041a92037d7c112d7 (patch) | |
tree | b94c44e38c263c539d2c9380b9894d6a180f1434 /plugins/!NotAdopted/mDynDNS/mDynDNS.h | |
parent | 9649ae46f093f7d4e6130d24c90da19e153a2ccf (diff) |
mydyndns, rps, SmartAutoAway, SmartAutoReplier moved back to Not Adopted until adopted properly (real doubts about mydyndns working state since service has changed a lot recently)
git-svn-id: http://svn.miranda-ng.org/main/trunk@7119 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/!NotAdopted/mDynDNS/mDynDNS.h')
-rw-r--r-- | plugins/!NotAdopted/mDynDNS/mDynDNS.h | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/plugins/!NotAdopted/mDynDNS/mDynDNS.h b/plugins/!NotAdopted/mDynDNS/mDynDNS.h new file mode 100644 index 0000000000..a3f80f5b17 --- /dev/null +++ b/plugins/!NotAdopted/mDynDNS/mDynDNS.h @@ -0,0 +1,58 @@ +
+// Windows includes
+#include <windows.h>
+
+// Standard includes
+#include <stdio.h>
+#include <commctrl.h>
+#include <process.h>
+#include <time.h>
+
+// Miranda IM SDK includes
+#include <win2k.h>
+#include <newpluginapi.h> // This must be included first
+#include <m_popup.h>
+#include <m_clist.h>
+#include <m_skin.h>
+#include <m_system.h>
+#include <m_netlib.h>
+#include <m_langpack.h>
+#include <m_options.h>
+#include <m_database.h>
+
+// Project resources
+#include "resource.h"
+#include "version.h"
+
+#define MODE_POPUP 0
+#define MODE_OWN1 1
+#define MODE_OWN2 2
+#define POPUP_DEFAULT_COLORBKG 0xFFFFFF //0xDCBDA5
+#define POPUP_DEFAULT_COLORTXT 0x000000
+
+#define URL_DYNDNS "https://www.dyndns.com/account/create.html"
+#define DYN_DNS_SERVER "http://checkip.dyndns.org"
+#define RESPONSE_PATTERN "<html><head><title>Current IP Check</title></head><body>Current IP Address: %d.%d.%d.%d</body></html>"
+#define MDYNDNS_ERROR_TITLE "mDynDns - Error"
+#define MDYNDNS_ERROR_CODE "F"
+#define MDYNDNS_BLOCK_CODE "Yes"
+#define MDYNDNS_UNBLOCK_CODE "No"
+#define MDYNDNS_KEY_USERNAME "Username"
+#define MDYNDNS_KEY_PASSWORD "Password"
+#define MDYNDNS_KEY_DOMAIN "Domain"
+#define MDYNDNS_KEY_POPUPENAB "PopupEnabled"
+#define MDYNDNS_KEY_POPUPUPD "UpdatePopupsEnabled"
+#define MDYNDNS_KEY_POPUPBACK "PopupBack"
+#define MDYNDNS_KEY_POPUPTEXT "PopupText"
+#define MDYNDNS_KEY_POPUPDELAY "PopupDelay"
+#define MDYNDNS_KEY_POPUPDELM "PopupDelayMode"
+#define MDYNDNS_KEY_POPUPCOLM "PopupColorMode"
+#define MDYNDNS_KEY_BLOCKED "Blocked"
+#define MDYNDNS_KEY_UPDATETIME "UpdateTime"
+#define MDYNDNS_KEY_LASTIP "LastIP"
+#define MDYNDNS_KEY_LASTIPCHECK "LastCheckTS"
+
+
+#ifndef MIID_MDYNDNS
+#define MIID_MDYNDNS { 0x91e005c7, 0x8760, 0x479f, { 0xa2, 0xc9, 0x1c, 0x9e, 0x31, 0x7, 0x20, 0x1c } } // {91E005C7-8760-479f-A2C9-1C9E3107201C}
+#endif
|