-- Autogenerated by MSIL2Ada v. 2
-- By: Martin C. Carlisle
--     Department of Computer Science
--     US Air Force Academy
--     carlislem@acm.org
pragma Extensions_Allowed(On);
with MSSyst.Object;
with MSIL_Types;
use MSIL_Types;
with type MSSyst.ComponentModel.Design.IServiceContainer.Ref is access;
with type MSSyst.IServiceProvider.Ref is access;
with type MSSyst.Type_k.Ref is access;
with type MSSyst.ComponentModel.Design.ServiceCreatorCallback.Ref is access;
with type MSSyst.Object.Ref is access;
with type MSSyst.String.Ref is access;
with MSSyst.Object;
package MSSyst.ComponentModel.Design.ServiceContainer is
   type Typ;
   type Ref is access all Typ'Class;
   type Ref_addrof is access all Ref;
   type Ref_Arr is array(Natural range <>) of Ref;
   type Ref_Array is access all Ref_Arr;
   type Ref_Array_addrof is access all Ref_Array;
   type Typ(
         I_IServiceContainer : MSSyst.ComponentModel.Design.IServiceContainer.Ref;
         I_IServiceProvider : MSSyst.IServiceProvider.Ref
      ) is new MSSyst.Object.Typ with record
      null;
   end record;
   function new_ServiceContainer(
      This : Ref := null) return Ref;
   function new_ServiceContainer(
      This : Ref := null;
      parentProvider : MSSyst.IServiceProvider.Ref) return Ref;
   procedure AddService(
      This : access Typ;
      serviceType : MSSyst.Type_k.Ref;
      callback : MSSyst.ComponentModel.Design.ServiceCreatorCallback.Ref);
   procedure AddService(
      This : access Typ;
      serviceType : MSSyst.Type_k.Ref;
      serviceInstance : MSSyst.Object.Ref;
      promote : Standard.Boolean);
   procedure AddService(
      This : access Typ;
      serviceType : MSSyst.Type_k.Ref;
      serviceInstance : MSSyst.Object.Ref);
   procedure AddService(
      This : access Typ;
      serviceType : MSSyst.Type_k.Ref;
      callback : MSSyst.ComponentModel.Design.ServiceCreatorCallback.Ref;
      promote : Standard.Boolean);
   function GetService(
      This : access Typ;
      serviceType : MSSyst.Type_k.Ref) return MSSyst.Object.Ref;
   procedure RemoveService(
      This : access Typ;
      serviceType : MSSyst.Type_k.Ref);
   procedure RemoveService(
      This : access Typ;
      serviceType : MSSyst.Type_k.Ref;
      promote : Standard.Boolean);
private
   pragma Convention(MSIL,Typ);
   pragma MSIL_Constructor(new_ServiceContainer);
   pragma Import(MSIL,AddService,"AddService");
   pragma Import(MSIL,GetService,"GetService");
   pragma Import(MSIL,RemoveService,"RemoveService");
end MSSyst.ComponentModel.Design.ServiceContainer;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.ComponentModel.Design.ServiceContainer,
   ".ver 1:0:3300:0 .publickeytoken=( b7 7a 5c 56 19 34 e0 89 )",
   "[System]System.ComponentModel.Design.ServiceContainer");
