diff options
author | Jean-Francois Mauguit <jfmauguit@mac.com> | 2024-09-24 09:03:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-24 09:03:25 -0400 |
commit | bab614c421ed7ae329d26bf028c4a3b1d2450f5a (patch) | |
tree | 12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/Plugins/Library/ml_downloads/Main.h | |
parent | 4bde6044fddf053f31795b9eaccdd2a5a527d21f (diff) | |
parent | 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (diff) | |
download | winamp-bab614c421ed7ae329d26bf028c4a3b1d2450f5a.tar.gz |
Merge pull request #5 from WinampDesktop/community
Merge to main
Diffstat (limited to 'Src/Plugins/Library/ml_downloads/Main.h')
-rw-r--r-- | Src/Plugins/Library/ml_downloads/Main.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/Src/Plugins/Library/ml_downloads/Main.h b/Src/Plugins/Library/ml_downloads/Main.h new file mode 100644 index 00000000..39c4de66 --- /dev/null +++ b/Src/Plugins/Library/ml_downloads/Main.h @@ -0,0 +1,43 @@ +#ifndef NULLSOFT_MAINH +#define NULLSOFT_MAINH + +#include "Downloaded.h" + +#define PLUGIN_VERSION_MAJOR 1 +#define PLUGIN_VERSION_MINOR 33 + +extern int winampVersion, podcast_parent, dirty; + +#define NAVITEM_UNIQUESTR L"download_svc" +BOOL Navigation_Update(void); + +bool AddDownloadData(const DownloadedFile &data); +void CloseDatabase(); + +#include "resource.h" +#include "../nu/DialogSkinner.h" +#include "../nu/MediaLibraryInterface.h" +#include "../nu/AutoChar.h" +#include "../nu/AutoWide.h" +#include "../nu/AutoLock.h" +#include <windows.h> +#include <shlwapi.h> + +extern ATOM VIEWPROP; +extern winampMediaLibraryPlugin plugin; +extern int downloads_treeItem; + +#include "../Components/wac_downloadManager/wac_downloadManager_api.h" + +#define ML_ENQDEF_VAL() (!!GetPrivateProfileInt(L"gen_ml_config", L"enqueuedef", 0, ml_cfg)) +#define ML_GROUPBTN_VAL() (!!GetPrivateProfileInt(L"gen_ml_config", L"groupbtn", 1, ml_cfg)) +extern wchar_t* ml_cfg; + +#include "DownloadViewCallback.h" + +extern DownloadViewCallback *downloadViewCallback; + +#endif + +extern HWND downloads_window; +extern int groupBtn, enqueuedef;
\ No newline at end of file |