/* dtkComposerNodeProxy.cpp ---
 *
 * Author: tkloczko
 * Copyright (C) 2011 - Thibaud Kloczko, Inria.
 * Created: Wed Mar 21 10:28:20 2012 (+0100)
 * Version: $Id: 6524bcd761f48830358280dbca77c843bdc8341f $
 * Last-Updated: Wed May  9 09:57:54 2012 (+0200)
 *           By: tkloczko
 *     Update #: 8
 */

/* Commentary:
 *
 */

/* Change log:
 *
 */

#include "dtkComposerNodeProxy.h"
#include "dtkComposerTransmitterProxy.h"

#include <dtkCoreSupport/dtkGlobal.h>

// /////////////////////////////////////////////////////////////////
// dtkComposerNodeProxyPrivate definition
// /////////////////////////////////////////////////////////////////

class dtkComposerNodeProxyPrivate
{
public:
    dtkComposerTransmitterProxy receiver;
    dtkComposerTransmitterProxy emitter;
};

// /////////////////////////////////////////////////////////////////
// dtkComposerNodeProxy implementation
// /////////////////////////////////////////////////////////////////

dtkComposerNodeProxy::dtkComposerNodeProxy(void) : dtkComposerNodeLeaf(), d(new dtkComposerNodeProxyPrivate)
{
    this->appendReceiver(&(d->receiver));
    this->appendEmitter(&(d->emitter));
}

dtkComposerNodeProxy::~dtkComposerNodeProxy(void)
{
    delete d;
    d = NULL;
}


