Midas SDK Documentation v1.0

Miranda .net Association Plugin SDK, © 2006 Virtuoso

Contents

 

Overview

Midas (Miranda .net Assocication Plugin) is a plugin allowing Microsoft.net platform developers to access Miranda APIs thus allowing them to write Miranda targeted managed plugins.

I created Midas because I'm an avid C# programmer and I wanted to extend Miranda in an easy, reliable and fast way - with Microsoft.net managed plugins.

You can write Miranda plugins in any Ecma CLI compliant language, for example C#, J#, Delphi, C++/CLI or Visual Basic.net. Please note that you may not be able to take advantage of all Midas features from languages that do not support some CLS non-compliant constructs. You may have problems using Microsoft Visual Basic.net because it, for example, does not support unsigned data types. Miranda and Midas use these types (System.UIntPtr) extensively.

In a nutshell, Midas represents a native-to-managed wrapper presenting core Miranda APIs in the OO fashion to .net. It wraps Miranda's procedural APIs to a neat and logical object oriented interface.

Using Midas, you can write Miranda plugins that you or anybody else find useful. With .net plugins, you can accomplish complicated and complex tasks in the much faster way.

 

Architecture

Midas consinsts of two crucial assemblies:

 

Namespaces

There are many publicly visible namespaces containing key classes and many native interop helper classes making easy to access not yet wrapped parts of the Miranda API.

Key namespaces:
Native interop namespaces:

 

Classes

There are several classes representing the Miranda API wrappers for Database, Contact List and many other aspects of Miranda API model.

Key classes: