Sha256: 14cfb77cef890a9f48ae927e47fcb7a20a652444ffae8cf7b24c30df549c5742

Contents?: true

Size: 1.08 KB

Versions: 17

Compression:

Stored size: 1.08 KB

Contents

/*****************************************************************************

$Id$

File:     binder.h
Date:     07Apr06

Copyright (C) 2006-07 by Francis Cianfrocca. All Rights Reserved.
Gmail: blackhedd

This program is free software; you can redistribute it and/or modify
it under the terms of either: 1) the GNU General Public License
as published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version; or 2) Ruby's License.

See the file COPYING for complete licensing information.

*****************************************************************************/

#ifndef __ObjectBindings__H_
#define __ObjectBindings__H_


class Bindable_t
{
	public:
		static string CreateBinding();
		static Bindable_t *GetObject (const string&);
		static Bindable_t *GetObject (const char*);
		static map<string, Bindable_t*> BindingBag;

	public:
		Bindable_t();
		virtual ~Bindable_t();

		const string &GetBinding() {return Binding;}
		const char *GetBindingChars() {return Binding.c_str();}

	private:
		string Binding;
};





#endif // __ObjectBindings__H_

Version data entries

17 entries across 17 versions & 6 rubygems

Version Path
brianmario-eventmachine-0.12.2 ext/binder.h
careo-eventmachine-0.12.5.1 ext/binder.h
davidsmalley-eventmachine-0.12.3.1 ext/binder.h
eventmachine-eventmachine-0.12.3 ext/binder.h
eventmachine-eventmachine-0.12.4 ext/binder.h
eventmachine-eventmachine-0.12.5 ext/binder.h
eventmachine-eventmachine-0.12.6 ext/binder.h
eventmachine-eventmachine-0.12.7 ext/binder.h
eventmachine-eventmachine-0.12.8 ext/binder.h
eventmachine-eventmachine-0.12.9 ext/binder.h
libc-eventmachine-0.12.5.42 ext/binder.h
libc-eventmachine-0.12.7.42 ext/binder.h
eventmachine-0.12.8-java ext/binder.h
eventmachine-0.12.4 ext/binder.h
eventmachine-0.12.6-java ext/binder.h
eventmachine-0.12.6 ext/binder.h
eventmachine-0.12.8 ext/binder.h