From fa5f0cd808f246bfb146efb233394296bed718fe Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 9 Mar 2018 02:05:20 +0300 Subject: NewsAggregator: use m_gui (mostly working) --- plugins/NewsAggregator/Src/stdafx.h | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'plugins/NewsAggregator/Src/stdafx.h') diff --git a/plugins/NewsAggregator/Src/stdafx.h b/plugins/NewsAggregator/Src/stdafx.h index 27fdfd2195..bbce47d74d 100644 --- a/plugins/NewsAggregator/Src/stdafx.h +++ b/plugins/NewsAggregator/Src/stdafx.h @@ -44,11 +44,13 @@ Boston, MA 02111-1307, USA. #include #include #include +#include #include #include #include +#include "Options.h" #include "version.h" #include "resource.h" @@ -58,8 +60,8 @@ Boston, MA 02111-1307, USA. #define DEFAULT_UPDATE_TIME 60 extern HINSTANCE hInst; -extern HWND hAddFeedDlg; -extern MWindowList hChangeFeedDlgList; +extern CDlgBase *pAddFeedDialog, *pChangeFeedDialog, *pImportDialog, *pExportDialog; +//extern MWindowList hChangeFeedDlgList; extern HNETLIBUSER hNetlibUser; extern UINT_PTR timerId; // check if Feeds is currently updating @@ -121,17 +123,11 @@ INT_PTR ExportFeeds(WPARAM wParam, LPARAM lParam); INT_PTR CheckFeed(WPARAM wParam, LPARAM lParam); INT_PTR EnableDisable(WPARAM wParam, LPARAM lParam); int OnToolbarLoaded(WPARAM wParam, LPARAM lParam); -INT_PTR CALLBACK DlgProcAddFeedOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam); -INT_PTR CALLBACK DlgProcChangeFeedOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam); -INT_PTR CALLBACK DlgProcChangeFeedMenu(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam); void CALLBACK timerProc(HWND hwnd, UINT uMsg, UINT_PTR idEvent, DWORD dwTime); void CALLBACK timerProc2(HWND hwnd, UINT uMsg, UINT_PTR idEvent, DWORD dwTime); bool IsMyContact(MCONTACT hContact); void GetNewsData(wchar_t *szUrl, char **szData, MCONTACT hContact, HWND hwndDlg); -void CreateList(HWND hwndList); -void UpdateList(HWND hwndList); -void DeleteAllItems(HWND hwndList); time_t __stdcall DateToUnixTime(const wchar_t *stamp, bool FeedType); void CheckCurrentFeed(MCONTACT hContact); void CheckCurrentFeedAvatar(MCONTACT hContact); @@ -141,8 +137,6 @@ LPCTSTR ClearText(CMStringW &value, const wchar_t *message); bool DownloadFile(LPCTSTR tszURL, LPCTSTR tszLocal); void CreateAuthString(char *auth, MCONTACT hContact, HWND hwndDlg); INT_PTR CALLBACK AuthenticationProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam); -INT_PTR CALLBACK DlgProcImportOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam); -INT_PTR CALLBACK DlgProcExportOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam); MCONTACT GetContactByNick(const wchar_t *nick); MCONTACT GetContactByURL(const wchar_t *url); -- cgit v1.2.3