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.3.2 include/beeps/exception.h
beeps-0.3.1 include/beeps/exception.h
beeps-0.3 include/beeps/exception.h
beeps-0.2.1 include/beeps/exception.h
beeps-0.2 include/beeps/exception.h
beeps-0.1.46 include/beeps/exception.h
beeps-0.1.45 include/beeps/exception.h
beeps-0.1.44 include/beeps/exception.h
beeps-0.1.43 include/beeps/exception.h
beeps-0.1.42 include/beeps/exception.h
beeps-0.1.41 include/beeps/exception.h
beeps-0.1.40 include/beeps/exception.h
beeps-0.1.39 include/beeps/exception.h
beeps-0.1.38 include/beeps/exception.h
beeps-0.1.37 include/beeps/exception.h
beeps-0.1.36 include/beeps/exception.h
beeps-0.1.35 include/beeps/exception.h
beeps-0.1.34 include/beeps/exception.h
beeps-0.1.33 include/beeps/exception.h
beeps-0.1.32 include/beeps/exception.h