#ifndef _XDCPICSTD_
#define _XDCPICSTD_
/*<<<***************************************************************************
The MIT License (MIT)

Copyright(C) 2013 - 2015 Marc Mirti Mancinelli, Christophe Lardau and Philippe Pamart (xdcube.org)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

!! IMPORTANT !!
This plugin/software uses and integrates the following sources which are 
obviously not covered/excluded from this license: 
- Independent JPEG Group's software library 6b used for jpeg support 
	(folder jpeg-6b, see README.txt for license)
- Glenn Randers- Pehrson's libpng-1.2.8
	(folder libpng-128, see LICENSE.txt)
- Jean-loup Gailly/Mark Adler's zlib-1.2.3 for png support and gzip compression
	(folder zlib-123, see README.txt for license)

For this source, please refer to their own license.
////////////////////////////////////////////////////////////////////////////////
#Title: xdcPicStd
#Project: xdcPicStd
////////////////////////////////////////////////////////////////////////////////
#Author: Marc MIRTI MANCINELLI
#History:
<14/09/2013: creation.
12/02/2014: this notice inserted.
***************************************************************************>>>*/

#include <xbHotPlug.h>
#include "resource.h"

class PicStdFact:public xbHotPlugFactory
{
public:
	PicStdFact(
#ifndef XDCBASE_EMBED
		xbXdcLib *pLib,
#endif
		const xbHotPlugType *pPlugType,const char *pId,const char *pLabel,
		const xbHotPlugFactoryList *pFactList,long unloadDelayInMs = 300)
		:xbHotPlugFactory(
#ifndef XDCBASE_EMBED
		pLib,
#endif
		pPlugType,pId,pLabel,pFactList,unloadDelayInMs)
	{
	}
protected:
};

class CompStdFact:public xbHotPlugFactory
{
public:
	CompStdFact(
#ifndef XDCBASE_EMBED
		xbXdcLib *pLib,
#endif
		const xbHotPlugType *pPlugType,const char *pId,const char *pLabel,
		const xbHotPlugFactoryList *pFactList,long unloadDelayInMs = 300)
		:xbHotPlugFactory(
#ifndef XDCBASE_EMBED
		pLib,
#endif
		pPlugType,pId,pLabel,pFactList,unloadDelayInMs)
	{
	}
protected:
};

extern PicStdFact	g_PicStdFact;
extern CompStdFact	g_CompStdFact;
#endif
