-- 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.Security.IPermission.Ref is access;
with type MSSyst.Security.ISecurityEncodable.Ref is access;
with type MSSyst.Security.IStackWalk.Ref is access;
with type MSSyst.Security.Permissions.IUnrestrictedPermission.Ref is access;
with type MSSyst.Object.Ref is access;
with type MSSyst.Security.SecurityElement.Ref is access;
with MSSyst.Security.Permissions.UIPermissionClipboard;
with MSSyst.Security.Permissions.UIPermissionWindow;
with type MSSyst.Type_k.Ref is access;
with type MSSyst.String.Ref is access;
with MSSyst.Security.Permissions.PermissionState;
with MSSyst.Security.CodeAccessPermission;
package MSSyst.Security.Permissions.UIPermission 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_IPermission : MSSyst.Security.IPermission.Ref;
         I_ISecurityEncodable : MSSyst.Security.ISecurityEncodable.Ref;
         I_IStackWalk : MSSyst.Security.IStackWalk.Ref;
         I_IUnrestrictedPermission : MSSyst.Security.Permissions.IUnrestrictedPermission.Ref
      ) is new MSSyst.Security.CodeAccessPermission.Typ(
         I_IPermission => I_IPermission,
         I_ISecurityEncodable => I_ISecurityEncodable,
         I_IStackWalk => I_IStackWalk
      ) with record
      null;
   end record;
   function new_UIPermission(
      This : Ref := null;
      state : MSSyst.Security.Permissions.PermissionState.Valuetype) return Ref;
   function new_UIPermission(
      This : Ref := null;
      windowFlag : MSSyst.Security.Permissions.UIPermissionWindow.Valuetype;
      clipboardFlag : MSSyst.Security.Permissions.UIPermissionClipboard.Valuetype) return Ref;
   function new_UIPermission(
      This : Ref := null;
      windowFlag : MSSyst.Security.Permissions.UIPermissionWindow.Valuetype) return Ref;
   function new_UIPermission(
      This : Ref := null;
      clipboardFlag : MSSyst.Security.Permissions.UIPermissionClipboard.Valuetype) return Ref;
   function Copy(
      This : access Typ) return MSSyst.Security.IPermission.Ref;
   procedure FromXml(
      This : access Typ;
      esd : MSSyst.Security.SecurityElement.Ref);
   function get_Clipboard(
      This : access Typ) return MSSyst.Security.Permissions.UIPermissionClipboard.Valuetype;
   function get_Window(
      This : access Typ) return MSSyst.Security.Permissions.UIPermissionWindow.Valuetype;
   function Intersect(
      This : access Typ;
      target : MSSyst.Security.IPermission.Ref) return MSSyst.Security.IPermission.Ref;
   function IsSubsetOf(
      This : access Typ;
      target : MSSyst.Security.IPermission.Ref) return Standard.Boolean;
   function IsUnrestricted(
      This : access Typ) return Standard.Boolean;
   procedure set_Clipboard(
      This : access Typ;
      value : MSSyst.Security.Permissions.UIPermissionClipboard.Valuetype);
   procedure set_Window(
      This : access Typ;
      value : MSSyst.Security.Permissions.UIPermissionWindow.Valuetype);
   function ToXml(
      This : access Typ) return MSSyst.Security.SecurityElement.Ref;
   function Union(
      This : access Typ;
      target : MSSyst.Security.IPermission.Ref) return MSSyst.Security.IPermission.Ref;
private
   pragma Convention(MSIL,Typ);
   pragma MSIL_Constructor(new_UIPermission);
   pragma Import(MSIL,Copy,"Copy");
   pragma Import(MSIL,FromXml,"FromXml");
   pragma Import(MSIL,get_Clipboard,"get_Clipboard");
   pragma Import(MSIL,get_Window,"get_Window");
   pragma Import(MSIL,Intersect,"Intersect");
   pragma Import(MSIL,IsSubsetOf,"IsSubsetOf");
   pragma Import(MSIL,IsUnrestricted,"IsUnrestricted");
   pragma Import(MSIL,set_Clipboard,"set_Clipboard");
   pragma Import(MSIL,set_Window,"set_Window");
   pragma Import(MSIL,ToXml,"ToXml");
   pragma Import(MSIL,Union,"Union");
end MSSyst.Security.Permissions.UIPermission;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Security.Permissions.UIPermission,
   ".ver 1:0:5000:0 .publickeytoken=( b7 7a 5c 56 19 34 e0 89 )",
   "[mscorlib]System.Security.Permissions.UIPermission");
