Sha256: 7c20cb72ea0ded78ac49f3238034aa667301dcb18efa706cd2966264e4da0d77

Contents?: true

Size: 718 Bytes

Versions: 1

Compression:

Stored size: 718 Bytes

Contents

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


#include <rucy/class.h>
#include <rucy/extension.h>
#include <beeps/sound.h>


RUCY_DECLARE_VALUE_FROM_TO(BEEPS_EXPORT, Beeps::SoundPlayer)

RUCY_DECLARE_VALUE_FROM_TO(BEEPS_EXPORT, Beeps::Sound)


namespace Beeps
{


	BEEPS_EXPORT Rucy::Class sound_player_class ();
	// class Beeps::SoundPlayer

	BEEPS_EXPORT Rucy::Class sound_class ();
	// class Beeps::Sound


}// Beeps


namespace Rucy
{


	template <> inline Class
	get_ruby_class<Beeps::SoundPlayer> ()
	{
		return Beeps::sound_player_class();
	}

	template <> inline Class
	get_ruby_class<Beeps::Sound> ()
	{
		return Beeps::sound_class();
	}


}// Rucy


#endif//EOH

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
beeps-0.3 include/beeps/ruby/sound.h