Logo Search packages:      
Sourcecode: rosegarden version File versions

DuplicateException.cpp

#include "DuplicateException.h"
#include "chord.h"

namespace Guitar
{

DuplicateException ::DuplicateException ( Chord* dup_ptr, Chord* orig_ptr )
        : m_dup_ptr ( dup_ptr ),
      m_orig_ptr ( orig_ptr )
{}

Chord* DuplicateException::getDuplicate () const
{
    return m_dup_ptr;
}

Chord* DuplicateException::getOriginal () const
{
    return m_orig_ptr;
}

}

Generated by  Doxygen 1.6.0   Back to index