1
0

Main.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #ifndef NULLSOFT_MAINH
  2. #define NULLSOFT_MAINH
  3. #include "Downloaded.h"
  4. #define PLUGIN_VERSION_MAJOR 1
  5. #define PLUGIN_VERSION_MINOR 33
  6. extern int winampVersion, podcast_parent, dirty;
  7. #define NAVITEM_UNIQUESTR L"download_svc"
  8. BOOL Navigation_Update(void);
  9. bool AddDownloadData(const DownloadedFile &data);
  10. void CloseDatabase();
  11. #include "resource.h"
  12. #include "../nu/DialogSkinner.h"
  13. #include "../nu/MediaLibraryInterface.h"
  14. #include "../nu/AutoChar.h"
  15. #include "../nu/AutoWide.h"
  16. #include "../nu/AutoLock.h"
  17. #include <windows.h>
  18. #include <shlwapi.h>
  19. extern ATOM VIEWPROP;
  20. extern winampMediaLibraryPlugin plugin;
  21. extern int downloads_treeItem;
  22. #include "../Components/wac_downloadManager/wac_downloadManager_api.h"
  23. #define ML_ENQDEF_VAL() (!!GetPrivateProfileInt(L"gen_ml_config", L"enqueuedef", 0, ml_cfg))
  24. #define ML_GROUPBTN_VAL() (!!GetPrivateProfileInt(L"gen_ml_config", L"groupbtn", 1, ml_cfg))
  25. extern wchar_t* ml_cfg;
  26. #include "DownloadViewCallback.h"
  27. extern DownloadViewCallback *downloadViewCallback;
  28. #endif
  29. extern HWND downloads_window;
  30. extern int groupBtn, enqueuedef;