diff options
author | Jef <jef@targetspot.com> | 2024-09-24 08:54:57 -0400 |
---|---|---|
committer | Jef <jef@targetspot.com> | 2024-09-24 08:54:57 -0400 |
commit | 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (patch) | |
tree | 12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/Plugins/Library/ml_wire/subscriptionView.h | |
parent | 537bcbc86291b32fc04ae4133ce4d7cac8ebe9a7 (diff) | |
download | winamp-20d28e80a5c861a9d5f449ea911ab75b4f37ad0d.tar.gz |
Initial community commit
Diffstat (limited to 'Src/Plugins/Library/ml_wire/subscriptionView.h')
-rw-r--r-- | Src/Plugins/Library/ml_wire/subscriptionView.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Src/Plugins/Library/ml_wire/subscriptionView.h b/Src/Plugins/Library/ml_wire/subscriptionView.h new file mode 100644 index 00000000..9bc5555d --- /dev/null +++ b/Src/Plugins/Library/ml_wire/subscriptionView.h @@ -0,0 +1,29 @@ +#ifndef NULLSOFT_PODCAST_PLUGIN_SUBSCRIPTION_VIEW_HEADER +#define NULLSOFT_PODCAST_PLUGIN_SUBSCRIPTION_VIEW_HEADER + +#if defined(_MSC_VER) && (_MSC_VER >= 1020) +#pragma once +#endif + +#include <wtypes.h> + +#include <windows.h> +#include "../nu/listview.h" +#include "../nu/AutoLock.h" + +class OmService; + +HWND CALLBACK SubscriptionView_Create(HWND hParent, OmService *service); +HWND CALLBACK SubscriptionView_FindWindow(void); + +#define SVM_FIRST (WM_APP + 13) + +#define SVM_REFRESHCHANNELS (SVM_FIRST + 0) +#define SubscriptionView_RefreshChannels(/*HWND*/ __hwnd, /*BOOL*/ __sort)\ + ((BOOL)PostMessage((__hwnd), SVM_REFRESHCHANNELS, (WPARAM)(__sort), 0L)) + +#define SVM_SETSTATUS (SVM_FIRST + 1) +#define SubscriptionView_SetStatus(/*HWND*/ __hwnd, /*LPCWSTR*/ __status)\ + ((BOOL)SNDMSG((__hwnd), SVM_SETSTATUS, 0, (LPARAM)(__status))) + +#endif //NULLSOFT_PODCAST_PLUGIN_SUBSCRIPTION_VIEW_HEADER
\ No newline at end of file |