mkvtoolnix/error.h
2003-06-15 14:03:28 +00:00

35 lines
632 B
C++

/*
mkvmerge -- utility for splicing together matroska files
from component media subtypes
error.h
Written by Moritz Bunkus <moritz@bunkus.org>
Distributed under the GPL
see the file COPYING for details
or visit http://www.gnu.org/copyleft/gpl.html
*/
/*!
\file
\version $Id$
\brief class definitions for the error exception class
\author Moritz Bunkus <moritz@bunkus.org>
*/
#ifndef __ERROR_H
#define __ERROR_H
#include "common.h"
class error_c {
private:
char *error;
public:
error_c(char *nerror) { error = nerror; };
char *get_error() { return error; };
};
#endif // __ERROR_H