mkvtoolnix/error.h

35 lines
678 B
C
Raw Normal View History

2003-02-16 11:44:19 +00:00
/*
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
*/
2003-02-16 12:17:11 +00:00
/*!
\file
2003-05-18 20:57:08 +00:00
\version \$Id: error.h,v 1.8 2003/05/18 20:57:07 mosu Exp $
2003-02-16 12:17:11 +00:00
\brief class definitions for the error exception class
2003-05-18 20:57:08 +00:00
\author Moritz Bunkus <moritz@bunkus.org>
2003-02-16 12:17:11 +00:00
*/
2003-02-16 17:04:39 +00:00
#ifndef __ERROR_H
#define __ERROR_H
2003-02-16 11:44:19 +00:00
#include "common.h"
2003-02-16 11:44:19 +00:00
class error_c {
2003-02-27 09:52:37 +00:00
private:
char *error;
2003-02-27 09:52:37 +00:00
public:
error_c(char *nerror) { error = nerror; };
char *get_error() { return error; };
2003-02-16 11:44:19 +00:00
};
2003-02-16 17:04:39 +00:00
#endif // __ERROR_H