aboutsummaryrefslogtreecommitdiff
path: root/c/defs.h
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-02-15 16:36:42 +0100
committerJohn Ankarström <john@ankarstrom.se>2022-02-15 16:36:42 +0100
commit2e5ea298da89df79fc057ad46253e5a9d860e7e3 (patch)
tree617c323b90588fc4d75b9dd53d602d79e96f7c8f /c/defs.h
parent52fb337856497cb151081f3738e7cfa4bc2883bd (diff)
downloadEpisodeBrowser-2e5ea298da89df79fc057ad46253e5a9d860e7e3.tar.gz
Combine header files.
Some older UNIX programs are organized like this, and I think it gives a very good overview over the code. See troff for an example.
Diffstat (limited to 'c/defs.h')
-rw-r--r--c/defs.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/c/defs.h b/c/defs.h
new file mode 100644
index 0000000..67f1d3e
--- /dev/null
+++ b/c/defs.h
@@ -0,0 +1,27 @@
+#ifndef DEFS_H
+#define DEFS_H
+
+#include <windows.h>
+#include <commctrl.h>
+
+/* common.c */
+TCHAR *TSZFromSZ(char *, int);
+int Watched(int);
+
+/* main.c */
+void UpdateLayout(HWND);
+
+/* listview.c */
+HWND LvCreate(HWND, HMENU);
+
+/* episodelistview.c */
+HWND ElvCreate(HWND);
+LRESULT ElvHandleNotify(LPARAM);
+void ElvUpdate(void);
+void ElvUpdateName(NMLISTVIEW *);
+
+/* datalistview.c */
+void DlvCreate(HWND);
+void DlvShowEpisode(int);
+
+#endif