aboutsummaryrefslogtreecommitdiff
path: root/Src/Plugins/Library/ml_downloads/Main.h
blob: 39c4de6644d28d8d0aad76fc677f5e492f58135e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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;