diff options
author | David Robillard <d@drobilla.net> | 2008-08-19 00:56:05 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-08-19 00:56:05 +0000 |
commit | 5609c1ce452f8122b5ed12144dd4c1941bd07bc2 (patch) | |
tree | e0984409aaeee38599e32c9364636962586b7739 /src/libs/engine/events/EnablePortBroadcastingEvent.hpp | |
parent | f63dcf61bc04cc276ed5ae63266bfb91e3b84d94 (diff) | |
download | ingen-5609c1ce452f8122b5ed12144dd4c1941bd07bc2.tar.gz ingen-5609c1ce452f8122b5ed12144dd4c1941bd07bc2.tar.bz2 ingen-5609c1ce452f8122b5ed12144dd4c1941bd07bc2.zip |
Kill more API/code - replace enable_port_broadcast and disable_port_broadcast functions/events
with property ingen:broadcast.
git-svn-id: http://svn.drobilla.net/lad/ingen@1441 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/events/EnablePortBroadcastingEvent.hpp')
-rw-r--r-- | src/libs/engine/events/EnablePortBroadcastingEvent.hpp | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/src/libs/engine/events/EnablePortBroadcastingEvent.hpp b/src/libs/engine/events/EnablePortBroadcastingEvent.hpp deleted file mode 100644 index f9bc4e98..00000000 --- a/src/libs/engine/events/EnablePortBroadcastingEvent.hpp +++ /dev/null @@ -1,60 +0,0 @@ -/* This file is part of Ingen. - * Copyright (C) 2007 Dave Robillard <http://drobilla.net> - * - * Ingen 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. - * - * Ingen 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 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 ENABLEPORTBROADCASTINGEVENT_H -#define ENABLEPORTBROADCASTINGEVENT_H - -#include <string> -#include "QueuedEvent.hpp" -#include "types.hpp" - -using std::string; - -namespace Ingen { - -class PortImpl; -namespace Shared { class ClientInterface; } -using Shared::ClientInterface; - - -/** Enable sending of dynamic value change notifications for a port. - * - * \ingroup engine - */ -class EnablePortBroadcastingEvent : public QueuedEvent -{ -public: - EnablePortBroadcastingEvent(Engine& engine, - SharedPtr<Responder> responder, - SampleCount timestamp, - const std::string& port_path, - bool enable); - - void pre_process(); - void execute(ProcessContext& context); - void post_process(); - -private: - const std::string _port_path; - PortImpl* _port; - bool _enable; -}; - - -} // namespace Ingen - -#endif // ENABLEPORTBROADCASTINGEVENT_H |