20#ifndef __SYNTHCLONE_PARTICIPANT_H__
21#define __SYNTHCLONE_PARTICIPANT_H__
23#include <QtCore/QVariant>
254 Participant(
const QString &name,
int majorVersion,
int minorVersion,
255 int revision,
const QString &author,
256 const QString &summary, QObject *parent=0);
Context objects allow Participant objects to interact with a synthclone session.
Definition: context.h:45
Component capable of altering samples in some way.
Definition: effect.h:34
Participants objects interact with synthclone.
Definition: participant.h:34
virtual void restoreSampler(const QVariant &state)
Called to restore a Sampler.
int getRevision() const
Gets the revision portion of the Participant version.
virtual QVariant getState(const synthclone::Effect *effect) const
Gets the state of an Effect created by this Participant.
virtual ~Participant()
Destroys a participant.
virtual void restoreEffect(const QVariant &state)
Called to restore an Effect.
virtual void restoreTarget(const QVariant &state)
Called to restore a Target.
QString getName() const
Gets the translated name for this Participant.
virtual QVariant getState(const synthclone::Target *target) const
Gets the state of a Target created by this Participant.
Participant(const QString &name, int majorVersion, int minorVersion, int revision, const QString &author, const QString &summary, QObject *parent=0)
Constructs a new participant.
int getMinorVersion() const
Gets the minor version for this Participant.
virtual void activate(Context &context, const QVariant &state=QVariant())
Links the Participant with the application.
QString getSummary() const
Gets the translated summary for this participant.
virtual void deactivate(Context &context)
Unlinks the Participant from the application.
virtual QVariant getState(const synthclone::Sampler *sampler) const
Gets the state of a Sampler created by this Participant.
virtual QVariant getState() const
Gets the state of the Participant.
int getMajorVersion() const
Gets the major version for this Participant.
QString getAuthor() const
Gets the author of this Participant.
Component capable of capturing and playing back audio.
Definition: sampler.h:33
Component capable of building a patch from a list of Zone objects.
Definition: target.h:34
Definition: component.h:26