Blame ports/MSVC++/2008clr/mpg123clr/error.cpp

Packit c32a2d
/*
Packit c32a2d
	mpg123clr: MPEG Audio Decoder library Common Language Runtime version.
Packit c32a2d

Packit c32a2d
	copyright 2009 by Malcolm Boczek - free software under the terms of the LGPL 2.1
Packit c32a2d
	mpg123clr.dll is a derivative work of libmpg123 - all original mpg123 licensing terms apply.
Packit c32a2d

Packit c32a2d
	All rights to this work freely assigned to the mpg123 project.
Packit c32a2d
*/
Packit c32a2d
/*
Packit c32a2d
	libmpg123: MPEG Audio Decoder library
Packit c32a2d

Packit c32a2d
	copyright 1995-2008 by the mpg123 project - free software under the terms of the LGPL 2.1
Packit c32a2d
	see COPYING and AUTHORS files in distribution or http://mpg123.org
Packit c32a2d

Packit c32a2d
*/
Packit c32a2d
/*
Packit c32a2d
	1.8.1.0	04-Aug-09	Initial release.
Packit c32a2d
	1.9.0.0 24-Sep-09	Function names harmonized with libmpg123 (mb)
Packit c32a2d
*/
Packit c32a2d

Packit c32a2d
#include "StdAfx.h"
Packit c32a2d
#include "error.h"
Packit c32a2d

Packit c32a2d
mpg123clr::mpg123error::mpg123error(void)
Packit c32a2d
{
Packit c32a2d
}
Packit c32a2d

Packit c32a2d
// Destructor cleans up all resources
Packit c32a2d
mpg123clr::mpg123error::~mpg123error(void)
Packit c32a2d
{
Packit c32a2d
	// clean up code to release managed resources
Packit c32a2d
	// ...
Packit c32a2d

Packit c32a2d
	// call Finalizer to clean up unmanaged resources
Packit c32a2d
	this->!mpg123error();
Packit c32a2d
}
Packit c32a2d

Packit c32a2d
// Finalizer cleans up unmanaged resources
Packit c32a2d
mpg123clr::mpg123error::!mpg123error(void)
Packit c32a2d
{
Packit c32a2d
	// none!
Packit c32a2d
}
Packit c32a2d

Packit c32a2d
String^ mpg123clr::mpg123error::mpg123_plain_strerror(mpg123clr::mpg::ErrorCode errcode)
Packit c32a2d
{
Packit c32a2d
	return gcnew String(::mpg123_plain_strerror((int)errcode));
Packit c32a2d
}
Packit c32a2d