UpdateAutoDownload.h 726 B

12345678910111213141516171819202122232425262728
  1. #ifndef NULLSOFT_UPDATEAUTODOWNLOADH
  2. #define NULLSOFT_UPDATEAUTODOWNLOADH
  3. /* This header file is used by FeedsDialog.h
  4. It provides a set of helper functions to deal with the combo box for auto download
  5. basically - converts between combo box choice and int
  6. */
  7. namespace UpdateAutoDownload
  8. {
  9. enum
  10. {
  11. AUTODOWNLOAD_NEVER = 0,
  12. AUTODOWNLOAD_LAST_ONE,
  13. AUTODOWNLOAD_LAST_TWO,
  14. AUTODOWNLOAD_LAST_THREE,
  15. AUTODOWNLOAD_LAST_FIVE,
  16. AUTODOWNLOAD_NUMENTRIES
  17. };
  18. extern int episodes[];
  19. const wchar_t *GetTitle(int position, wchar_t *buffer, int bufferMax);
  20. bool GetAutoDownload(int selection);
  21. int GetAutoDownloadEpisodes(int selection);
  22. int GetSelection(int selEpisodes, bool autoDownload);
  23. }
  24. #endif