#ifndef __CBitmap_cpp
#define __CBitmap_cpp

MfcBitmap* MfcBitmap::New ()
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcBitmapI()->_New();
} // MfcBitmap* MfcBitmap::New ();

void MfcBitmap::Delete (MfcBitmap* pBitmap)
{
	FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcBitmapI()->_Delete(pBitmap);
} // void MfcBitmap::Delete (MfcBitmap* pBitmap);

MfcBitmap* MfcBitmap::FromHandle (HBITMAP hBitmap)
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcBitmapI()->_FromHandle(hBitmap);
} // MfcBitmap* MfcBitmap::FromHandle (HBITMAP hBitmap);

BOOL MfcBitmap::LoadBitmap (LPCTSTR lpszResourceName)
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcBitmapI()->_LoadBitmap(this, lpszResourceName);
} // BOOL MfcBitmap::LoadBitmap (LPCTSTR lpszResourceName);

BOOL MfcBitmap::LoadBitmap (UINT nIDResource)
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcBitmapI()->_LoadBitmap(this, nIDResource);
} // BOOL MfcBitmap::LoadBitmap (UINT nIDResource);

BOOL MfcBitmap::LoadOEMBitmap (UINT nIDBitmap)
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcBitmapI()->_LoadOEMBitmap(this, nIDBitmap);
} // BOOL MfcBitmap::LoadOEMBitmap (UINT nIDBitmap);

BOOL MfcBitmap::LoadMappedBitmap (UINT nIDBitmap, UINT nFlags, LPCOLORMAP lpColorMap, int nMapSize)
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcBitmapI()->_LoadMappedBitmap(this, nIDBitmap, nFlags, lpColorMap, nMapSize);
} // BOOL MfcBitmap::LoadMappedBitmap (UINT nIDBitmap, UINT nFlags, LPCOLORMAP lpColorMap, int nMapSize);

BOOL MfcBitmap::CreateBitmap (int nWidth, int nHeight, UINT nPlanes, UINT nBitcount, const void* lpBits)
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcBitmapI()->_CreateBitmap(this, nWidth, nHeight, nPlanes, nBitcount, lpBits);
} // BOOL MfcBitmap::CreateBitmap (int nWidth, int nHeight, UINT nPlanes, UINT nBitcount, const void* lpBits);

BOOL MfcBitmap::CreateBitmapIndirect (LPBITMAP lpBitmap)
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcBitmapI()->_CreateBitmapIndirect(this, lpBitmap);
} // BOOL MfcBitmap::CreateBitmapIndirect (LPBITMAP lpBitmap);

BOOL MfcBitmap::CreateCompatibleBitmap (MfcDC* pDC, int nWidth, int nHeight)
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcBitmapI()->_CreateCompatibleBitmap(this, pDC, nWidth, nHeight);
} // BOOL MfcBitmap::CreateCompatibleBitmap (MfcDC* pDC, int nWidth, int nHeight);

BOOL MfcBitmap::CreateDiscardableBitmap (MfcDC* pDC, int nWidth, int nHeight)
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcBitmapI()->_CreateDiscardableBitmap(this, pDC, nWidth, nHeight);
} // BOOL MfcBitmap::CreateDiscardableBitmap (MfcDC* pDC, int nWidth, int nHeight);

MfcBitmap::operator HBITMAP () const
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcBitmapI()->_HBITMAP(this);
} // MfcBitmap::operator HBITMAP () const;

int MfcBitmap::GetBitmap (BITMAP* pBitMap)
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcBitmapI()->_GetBitmap(this, pBitMap);
} // int MfcBitmap::GetBitmap (BITMAP* pBitMap);

DWORD MfcBitmap::SetBitmapBits (DWORD dwCount, const void* lpBits)
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcBitmapI()->_SetBitmapBits(this, dwCount, lpBits);
} // DWORD MfcBitmap::SetBitmapBits (DWORD dwCount, const void* lpBits);

DWORD MfcBitmap::GetBitmapBits (DWORD dwCount, LPVOID lpBits) const
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcBitmapI()->_GetBitmapBits(this, dwCount, lpBits);
} // DWORD MfcBitmap::GetBitmapBits (DWORD dwCount, LPVOID lpBits) const;

MfcSize MfcBitmap::SetBitmapDimension (int nWidth, int nHeight)
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcBitmapI()->_SetBitmapDimension(this, nWidth, nHeight);
} // MfcSize MfcBitmap::SetBitmapDimension (int nWidth, int nHeight);

MfcSize MfcBitmap::GetBitmapDimension () const
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcBitmapI()->_GetBitmapDimension(this);
} // MfcSize MfcBitmap::GetBitmapDimension () const;

#endif//__CBitmap_cpp
