mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
CTDB2.0: coverart search
This commit is contained in:
53
CUETools.CTDB.EACPlugin/InternetImage.cs
Normal file
53
CUETools.CTDB.EACPlugin/InternetImage.cs
Normal file
@@ -0,0 +1,53 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
|
||||
namespace CUETools.CTDB.EACPlugin
|
||||
{
|
||||
public class InternetImage
|
||||
{
|
||||
protected string m_URL = null;
|
||||
protected Bitmap m_bitmap = null;
|
||||
protected byte[] m_data = null;
|
||||
|
||||
public string URL
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_URL;
|
||||
}
|
||||
set
|
||||
{
|
||||
m_URL = value;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public byte[] Data
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_data;
|
||||
}
|
||||
set
|
||||
{
|
||||
m_data = value;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public Bitmap Image
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_bitmap;
|
||||
}
|
||||
set
|
||||
{
|
||||
m_bitmap = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user