Sha256: 4e15bc72870d1654435b661cc581704652ae9d186c7b7730365b4669420dac36

Contents?: true

Size: 769 Bytes

Versions: 34

Compression:

Stored size: 769 Bytes

Contents

// -*- c++ -*-
#pragma once
#ifndef __BEEPS_EXCEPTION_H__
#define __BEEPS_EXCEPTION_H__


#include <xot/exception.h>
#include <beeps/defs.h>


namespace Beeps
{


	class BeepsError : public Xot::XotError
	{
		typedef Xot::XotError Super;
		public: BeepsError (const char* str = NULL);
	};


	class OpenALError : public BeepsError
	{
		typedef BeepsError Super;
		public: OpenALError (const char* str = NULL);
	};


	namespace ErrorFunctions
	{

		using namespace Xot::ErrorFunctions;

		[[noreturn]]
		void beeps_error (
			const char* file, int line, const char* format = NULL, ...);

		[[noreturn]]
		void openal_error (
			const char* file, int line, const char* format = NULL, ...);

	}// ErrorFunctions


	using namespace ErrorFunctions;


}// Beeps


#endif//EOH

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
beeps-0.1.31 include/beeps/exception.h
beeps-0.1.30 include/beeps/exception.h
beeps-0.1.29 include/beeps/exception.h
beeps-0.1.28 include/beeps/exception.h
beeps-0.1.27 include/beeps/exception.h
beeps-0.1.26 include/beeps/exception.h
beeps-0.1.25 include/beeps/exception.h
beeps-0.1.24 include/beeps/exception.h
beeps-0.1.23 include/beeps/exception.h
beeps-0.1.22 include/beeps/exception.h
beeps-0.1.21 include/beeps/exception.h
beeps-0.1.20 include/beeps/exception.h
beeps-0.1.18 include/beeps/exception.h
beeps-0.1.16 include/beeps/exception.h