Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature void event #1398

Merged
merged 2 commits into from
Jan 24, 2013
Merged

Conversation

arturoc
Copy link
Member

@arturoc arturoc commented Jul 13, 2012

Adds the possibility for an ofEvent that can be listened to, from a method without arguments.

Don't merge yet, this modifies some Poco files i've sent a message in the poco forums to check if they have any interest in this change. Poco has a Poco::Void class that can be used to simulate something like this but the listener method has to receive a Poco::Void and on notify you need to create the variable before calling like:

Poco::Void v;
ofNotifyEvent(event,v);

which seems way less useful than a true void event but probably a reason not to accept my patch

Conflicts:
	libs/openFrameworks/events/ofEventUtils.h
arturoc added a commit that referenced this pull request Jan 24, 2013
@arturoc arturoc merged commit 8a59e32 into openframeworks:develop Jan 24, 2013
@arturoc arturoc deleted the feature-VoidEvent branch January 24, 2013 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant