﻿/*****************************************************************************
*       Copyright 1985, 2020 Precisely.
*       All rights reserved.
*
*       This document contains unpublished, confidential, and proprietary
*       information of Precisely. No disclosure or use of any portion of
*       the contents of this document may be made without the express 
*       written consent of Precisely.
*****************************************************************************/
using MapInfo.Types;

// ReSharper disable CheckNamespace
namespace MapInfo.MiPro.Samples.RibbonCustomization
// ReSharper restore CheckNamespace
{
	/* Sample Interface for Ribbon Customization AddIn */
	interface IMapInfoProRibbonCustomizationAddIn
	{
		// This function should be called from MapBasic Subroutine - Main - to initialize the AddIn.
		void Initialize(IMapInfoPro mapInfoApplication, string mbxname);
		// This function should be called from MapBasic Special handler   - EndHandler - to exit the AddIn and perform the cleanup.
		void Unload();
		// This is the main MapInfoPro interface which provides methods for Mapbasic applicatiions to communicate with MapInfo Pro.
		IMapBasicApplication ThisApplication { get; set; }
	}
}
