Sha256: 924d079c44f6d8647f5048efb0f9ab61bee9f755d89bc921dce038d644ca4d2c

Contents?: true

Size: 1.4 KB

Versions: 5

Compression:

Stored size: 1.4 KB

Contents

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

$Id: binder.h 2291 2006-04-14 03:56:18Z francis $

File:     binder.h
Date:     07Apr06

Copyright (C) 2006 by Francis Cianfrocca. All Rights Reserved.
Gmail: garbagecat20

This program is free software; you can redistribute it and/or modify
it under the terms of 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.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

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

#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();

		string GetBinding() {return Binding;}

	private:
		string Binding;
};





#endif // __ObjectBindings__H_

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
eventmachine-0.4.3 ext/binder.h
eventmachine-0.4.4 ext/binder.h
eventmachine-0.4.0 ext/binder.h
eventmachine-0.4.2 ext/binder.h
eventmachine-0.4.5 ext/binder.h