aboutsummaryrefslogtreecommitdiff
path: root/c/episodelistview.h
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-07-17 18:10:03 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-07-17 18:10:03 +0200
commit6a2b55588278d9401eb946ec94970bbea1069f58 (patch)
tree27be93e00d9ed91ca164b7c0d8b06e2159aa2228 /c/episodelistview.h
parente1906e8f45b732d83aca0935c59852c7aa64def9 (diff)
downloadEpisodeBrowser-6a2b55588278d9401eb946ec94970bbea1069f58.tar.gz
Prefer f() over f(void).
f(void) is a C-ism that is valid but unnecessary in C++.
Diffstat (limited to 'c/episodelistview.h')
-rw-r--r--c/episodelistview.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/c/episodelistview.h b/c/episodelistview.h
index 7061944..1f23959 100644
--- a/c/episodelistview.h
+++ b/c/episodelistview.h
@@ -13,16 +13,16 @@
struct EpisodeListView : public ListView
{
EpisodeListView(HWND hWndParent);
- void DoSort(void);
- void EnsureFocusVisible(void);
+ void DoSort();
+ void EnsureFocusVisible();
LRESULT HandleNotify(LPARAM lParam);
- void Redraw(void);
- void SaveFocus(void);
+ void Redraw();
+ void SaveFocus();
void SetTop(int iItem);
- void RestoreFocus(void);
+ void RestoreFocus();
void SelectUnwatched(int iDir);
- void ShowFocus(void);
- void Update(void);
+ void ShowFocus();
+ void Update();
void UpdateItem(const LVITEM* pLvi);
LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) override;
private: