#pragma once
/*
 *  
 *  $Id: iviewcontractable.h $
 *  Ginkgo CADx Project
 *
 *  Copyright 2008-12 MetaEmotion S.L. All rights reserved.
 *  http://ginkgo-cadx.com
 *
 *  This file is licensed under LGPL v3 license.
 *  See License.txt for details
 *
 */

#include <api/icontract.h>

namespace GNC {
	namespace GCS {
		class IViewContract;
		class EXTAPI IViewContractable: public GNC::GCS::IContractable
		{
		public:
			IViewContractable();
			virtual ~IViewContractable();

			virtual bool IsValidContract(IContract* contract);

			
			virtual void Register(IContract* contract);
		protected:
			GNC::GCS::IViewContract* ViewContract;
		};
	}
}
