summaryrefslogtreecommitdiff
path: root/plugins/NewsAggregator/Src/Common.h
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2014-11-14 20:51:35 +0000
committerKirill Volinsky <mataes2007@gmail.com>2014-11-14 20:51:35 +0000
commit602b5649c01971b1289b63690bd66743f3f9387c (patch)
treefd3fbb62cb291024e60ca67ce59b01caf5da8aab /plugins/NewsAggregator/Src/Common.h
parent81483e839d08683e35b74f42b2c4081c8101547c (diff)
minor fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@10990 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NewsAggregator/Src/Common.h')
-rw-r--r--plugins/NewsAggregator/Src/Common.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/plugins/NewsAggregator/Src/Common.h b/plugins/NewsAggregator/Src/Common.h
index b9407e7c85..9009e4dca2 100644
--- a/plugins/NewsAggregator/Src/Common.h
+++ b/plugins/NewsAggregator/Src/Common.h
@@ -59,8 +59,8 @@ extern HWND hAddFeedDlg;
extern HANDLE hChangeFeedDlgList, hNetlibUser;
extern UINT_PTR timerId;
// check if Feeds is currently updating
-extern BOOL ThreadRunning;
-extern BOOL UpdateListFlag;
+extern bool ThreadRunning;
+extern bool UpdateListFlag;
extern TCHAR tszRoot[MAX_PATH];
struct ItemInfo
{
@@ -91,13 +91,13 @@ extern HANDLE hUpdateMutex;
extern HGENMENU hService2[7];
int NewsAggrInit(WPARAM wParam,LPARAM lParam);
-INT OptInit(WPARAM wParam, LPARAM lParam);
+int OptInit(WPARAM wParam, LPARAM lParam);
int NewsAggrPreShutdown(WPARAM wParam,LPARAM lParam);
-VOID NetlibInit();
-VOID NetlibUnInit();
-VOID InitMenu();
-VOID InitIcons();
-HICON LoadIconEx(const char* name, BOOL big);
+void NetlibInit();
+void NetlibUnInit();
+void InitMenu();
+void InitIcons();
+HICON LoadIconEx(const char* name, bool big);
HANDLE GetIconHandle(const char* name);
INT_PTR NewsAggrGetName(WPARAM wParam, LPARAM lParam);
INT_PTR NewsAggrGetCaps(WPARAM wp, LPARAM lp);
@@ -119,22 +119,22 @@ 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(TCHAR *szUrl, char** szData, MCONTACT hContact, HWND hwndDlg);
-VOID CreateList(HWND hwndList);
-VOID UpdateList(HWND hwndList);
-VOID DeleteAllItems(HWND hwndList);
-time_t __stdcall DateToUnixTime(const TCHAR *stamp, BOOL FeedType);
-VOID CheckCurrentFeed(MCONTACT hContact);
-VOID CheckCurrentFeedAvatar(MCONTACT hContact);
+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(TCHAR *szUrl, char **szData, MCONTACT hContact, HWND hwndDlg);
+void CreateList(HWND hwndList);
+void UpdateList(HWND hwndList);
+void DeleteAllItems(HWND hwndList);
+time_t __stdcall DateToUnixTime(const TCHAR *stamp, bool FeedType);
+void CheckCurrentFeed(MCONTACT hContact);
+void CheckCurrentFeedAvatar(MCONTACT hContact);
TCHAR* CheckFeed(TCHAR* tszURL, HWND hwndDlg);
-void UpdateMenu(BOOL State);
+void UpdateMenu(bool State);
int ImportFeedsDialog();
LPCTSTR ClearText(CMString &value, const TCHAR *message);
-BOOL DownloadFile(LPCTSTR tszURL, LPCTSTR tszLocal);
+bool DownloadFile(LPCTSTR tszURL, LPCTSTR tszLocal);
int StrReplace(TCHAR *lpszOld, const TCHAR *lpszNew, TCHAR *&lpszStr);
void CreateAuthString(char *auth, MCONTACT hContact, HWND hwndDlg);
INT_PTR CALLBACK AuthenticationProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);