/*
  Free Download Manager Copyright (c) 2003-2007 FreeDownloadManager.ORG
*/

#ifndef __FDMDLSMGR_H_
#define __FDMDLSMGR_H_

#include "fdmdl.h"

class vmsFdmApiDownloadsMgr
{
public:
	virtual int getDownloadCount () = NULL;
	virtual vmsFdmApiDownload* getDownload (int nIndex) = NULL;
	virtual vmsFdmApiDownload* getDownloadById (UINT nId) = NULL;
	
	virtual UINT CreateDownload (struct vmsFdmApiCreateDownloadParameters* pNewDownload) = NULL;
};

struct vmsFdmApiCreateDownloadParameters
{
	LPCSTR pszUrl;
};  

#endif 