/*
 * This file is part of DesktopBSD, see the README file.
 *
 * Author: Peter Hofer <ph@desktopbsd.net>
 *         (C) 2004, 2005
 *
 * Copyright: BSD, see the COPYING file included in this distribution
 *
 */

#ifndef __DBSDICONLOADER_H
#define __DBSDICONLOADER_H

typedef unsigned int uint;
class QString;
class QPixmap;

class DBSDIconLoader {
public:
	enum Size {
		Size16x16 = 0,
		Size22x22 = 1,
		Size32x32 = 2,
		Size48x48 = 3,
		Size64x64 = 4,
		Size128x128 = 5,

		Button = Size16x16,
		SmallListItem = Size16x16,
		LargeListItem = Size32x32,
		HintIcon = Size32x32,
		SmallLogo = Size32x32
	};

	virtual QPixmap loadIcon(QString) = 0;
	virtual QPixmap loadIcon(QString, Size size) = 0;

	QPixmap getBlankPixmap(uint w, uint h);
};

#endif
