diff options
Diffstat (limited to 'plugins/GmailNotifier/src')
-rw-r--r-- | plugins/GmailNotifier/src/check.cpp | 5 | ||||
-rw-r--r-- | plugins/GmailNotifier/src/main.cpp | 2 | ||||
-rw-r--r-- | plugins/GmailNotifier/src/notify.cpp | 2 | ||||
-rw-r--r-- | plugins/GmailNotifier/src/options.cpp | 2 | ||||
-rw-r--r-- | plugins/GmailNotifier/src/stdafx.cxx (renamed from plugins/GmailNotifier/src/stdafx.cpp) | 2 | ||||
-rw-r--r-- | plugins/GmailNotifier/src/stdafx.h (renamed from plugins/GmailNotifier/src/gmail.h) | 4 | ||||
-rw-r--r-- | plugins/GmailNotifier/src/utility.cpp | 2 |
7 files changed, 9 insertions, 10 deletions
diff --git a/plugins/GmailNotifier/src/check.cpp b/plugins/GmailNotifier/src/check.cpp index dc5e8f8739..15d71299ad 100644 --- a/plugins/GmailNotifier/src/check.cpp +++ b/plugins/GmailNotifier/src/check.cpp @@ -1,6 +1,7 @@ -#include "gmail.h"
+#include "stdafx.h"
+
+#pragma comment(lib, "Wininet.lib")
-// #include <stdio.h>
void CheckMailInbox(Account *curAcc)
{
diff --git a/plugins/GmailNotifier/src/main.cpp b/plugins/GmailNotifier/src/main.cpp index d6c8413266..a4d3556299 100644 --- a/plugins/GmailNotifier/src/main.cpp +++ b/plugins/GmailNotifier/src/main.cpp @@ -7,7 +7,7 @@ modify it as they wish with no restriction. There is no warranty.
*/
-#include "gmail.h"
+#include "stdafx.h"
#include "version.h"
HINSTANCE hInst;
diff --git a/plugins/GmailNotifier/src/notify.cpp b/plugins/GmailNotifier/src/notify.cpp index 9ec7111750..6e16c3a0b0 100644 --- a/plugins/GmailNotifier/src/notify.cpp +++ b/plugins/GmailNotifier/src/notify.cpp @@ -1,4 +1,4 @@ -#include "gmail.h"
+#include "stdafx.h"
int OpenBrowser(WPARAM hContact, LPARAM lParam)
{
diff --git a/plugins/GmailNotifier/src/options.cpp b/plugins/GmailNotifier/src/options.cpp index 652a674981..e26e48e737 100644 --- a/plugins/GmailNotifier/src/options.cpp +++ b/plugins/GmailNotifier/src/options.cpp @@ -1,4 +1,4 @@ -#include "gmail.h"
+#include "stdafx.h"
static void SaveButton(HWND hwndDlg,HWND hwndCombo, int curIndex) {
if (GetDlgItemTextA(hwndDlg, IDC_NAME, acc[curIndex].name, _countof(acc[curIndex].name))) {
diff --git a/plugins/GmailNotifier/src/stdafx.cpp b/plugins/GmailNotifier/src/stdafx.cxx index ebf8e61525..6fb37564b7 100644 --- a/plugins/GmailNotifier/src/stdafx.cpp +++ b/plugins/GmailNotifier/src/stdafx.cxx @@ -15,4 +15,4 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "gmail.h"
+#include "stdafx.h"
\ No newline at end of file diff --git a/plugins/GmailNotifier/src/gmail.h b/plugins/GmailNotifier/src/stdafx.h index d6293e4436..ef1e8bc67b 100644 --- a/plugins/GmailNotifier/src/gmail.h +++ b/plugins/GmailNotifier/src/stdafx.h @@ -1,5 +1,3 @@ -#define _CRT_SECURE_NO_WARNINGS
-
#include <windows.h>
#include <wininet.h>
#include <time.h>
@@ -81,7 +79,7 @@ INT_PTR Notifying(WPARAM, LPARAM); INT_PTR PluginMenuCommand(WPARAM, LPARAM);
void CALLBACK TimerProc(HWND, UINT, UINT_PTR, DWORD);
BOOL GetBrowser(char *);
-void CheckMailInbox(Account *);
+//void CheckMailInbox(Account *);
void NotifyUser(Account *);
int OptInit(WPARAM, LPARAM);
void Check_ThreadFunc(void *);
diff --git a/plugins/GmailNotifier/src/utility.cpp b/plugins/GmailNotifier/src/utility.cpp index 8e91d5d8ed..69ae7536e6 100644 --- a/plugins/GmailNotifier/src/utility.cpp +++ b/plugins/GmailNotifier/src/utility.cpp @@ -1,4 +1,4 @@ -#include "gmail.h"
+#include "stdafx.h"
void BuildList(void)
{
|