1
0

subscriptionView.h 886 B

1234567891011121314151617181920212223242526272829
  1. #ifndef NULLSOFT_PODCAST_PLUGIN_SUBSCRIPTION_VIEW_HEADER
  2. #define NULLSOFT_PODCAST_PLUGIN_SUBSCRIPTION_VIEW_HEADER
  3. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  4. #pragma once
  5. #endif
  6. #include <wtypes.h>
  7. #include <windows.h>
  8. #include "../nu/listview.h"
  9. #include "../nu/AutoLock.h"
  10. class OmService;
  11. HWND CALLBACK SubscriptionView_Create(HWND hParent, OmService *service);
  12. HWND CALLBACK SubscriptionView_FindWindow(void);
  13. #define SVM_FIRST (WM_APP + 13)
  14. #define SVM_REFRESHCHANNELS (SVM_FIRST + 0)
  15. #define SubscriptionView_RefreshChannels(/*HWND*/ __hwnd, /*BOOL*/ __sort)\
  16. ((BOOL)PostMessage((__hwnd), SVM_REFRESHCHANNELS, (WPARAM)(__sort), 0L))
  17. #define SVM_SETSTATUS (SVM_FIRST + 1)
  18. #define SubscriptionView_SetStatus(/*HWND*/ __hwnd, /*LPCWSTR*/ __status)\
  19. ((BOOL)SNDMSG((__hwnd), SVM_SETSTATUS, 0, (LPARAM)(__status)))
  20. #endif //NULLSOFT_PODCAST_PLUGIN_SUBSCRIPTION_VIEW_HEADER