#pragma once

#include "appinfo.h"

#include <atlsimpcoll.h>

// Settings dialog (settingsdlg.cpp)
VOID
CreateSettingsDlg(HWND hwnd);

// Download dialogs
enum DOWNLOADAPPFLAGS {
    DAF_SILENT  = 0x01,
    DAF_MODAL   = 0x02,
};
VOID
DownloadApplicationsDB(LPCWSTR lpUrl, BOOL IsOfficial);
BOOL
DownloadApplication(CAppInfo *pAppInfo);
BOOL
DownloadListOfApplications(const CAtlList<CAppInfo *> &AppsList, UINT Flags = 0);
