// == LICENSE INFORMATION ==
/*
 * First author tiritomato 2013.
 * This program is distributed under the GNU General Public License(GPL).
 * support blog (Japanese only) http://d.hatena.ne.jp/tiri_tomato/
 */
// == LICENSE INFORMATION ==

#include "CustomControls.hpp"

namespace UVTexIntegra {
	namespace CustomControls {

		MainEditForm::ConfigAdapter::ConfigAdapter( MainEditForm^ dlg )
			: m_dlg(dlg), m_doc(nullptr)
		{
			if ( dlg != nullptr ) m_doc = dlg->m_docData->PayloadClone();
		}
	}
}