spage_feedback.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #ifndef WINAMP_FEEDBACK_SETUP_PAGE_HEADER
  2. #define WINAMP_FEEDBACK_SETUP_PAGE_HEADER
  3. #include "./ifc_setuppage.h"
  4. class setup_page_feedback : public ifc_setuppage
  5. {
  6. public:
  7. setup_page_feedback();
  8. virtual ~setup_page_feedback();
  9. public:
  10. size_t AddRef();
  11. size_t Release();
  12. HRESULT GetName(bool bShort, const wchar_t **pszName);
  13. HRESULT Save(HWND hwndText);
  14. HRESULT CreateView(HWND hwndParent, HWND *phwnd);
  15. HRESULT Revert(void);
  16. HRESULT IsDirty(void);
  17. HRESULT Validate(void);
  18. protected:
  19. INT_PTR PageDlgProc(UINT uMsg, WPARAM wParam, LPARAM lParam);
  20. INT_PTR OnInitDialog(HWND hwndFocus, LPARAM lParam);
  21. void OnSize(UINT nType, INT cx, INT cy);
  22. void OnCommand(INT nCtrlID, INT nEvntID, HWND hwndCtrl);
  23. void ComboBox_OnSelChange(HWND hwndCtrl);
  24. void UpdateUI(void);
  25. private:
  26. size_t ref;
  27. HWND hwnd;
  28. WCHAR szEmail[MAX_PATH];
  29. WCHAR szCountry[MAX_PATH];
  30. INT gender;
  31. DWORD flags;
  32. protected:
  33. friend static INT_PTR WINAPI DialogProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
  34. RECVS_DISPATCH;
  35. };
  36. #endif //WINAMP_FEEDBACK_SETUP_PAGE_HEADER