--------------------------------------------------------------------------------
-- <auto-generated>                                                           --
--     This code was generated by a tool.                                     --
--                                                                            --
--     Changes to this file may cause incorrect behavior and will be lost if  --
--     the code is regenerated.                                               --
-- </auto-generated>                                                          --
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--                                                                            --
--    Copyright(c) 2019 Alexander Gamper, All Rights Reserved.                --
--                                                                            --
--    Ada-NetFramework                                                        --
--    Version   : 1.0.0.0                                                     --
--                                                                            --
-- This program is free software: you can redistribute it and / or modify     --
-- it under the terms of the GNU Lesser General Public License as published by--
-- the Free Software Foundation, either version 3 of the License, or          --
-- (at your option) any later version.                                        --
--                                                                            --
-- This program is distributed in the hope that it will be useful,            --
-- but WITHOUT ANY WARRANTY; without even the implied warranty of             --
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the               --
-- GNU Lesser General Public License for more details.                        --
--                                                                            --
-- You should have received a copy of the GNU Lesser General Public License   --
-- along with this program.If not, see http://www.gnu.org/licenses            --
--                                                                            --
--------------------------------------------------------------------------------
with NetFrameworkBase.System.Enum;
--------------------------------------------------------------------------------
package NetFrameworkBase.System.Security.AccessControl.FileSystemRights is
   
   type Kind_Clr is new NetFrameworkBase.System.Enum.Kind with null record;
   type Kind_Clr_Ptr is access Kind_Clr;
   type Kind_Clr_Array is array(Natural range<>) of Kind_Clr_Ptr;
   type Kind_Clr_Array_Ptr is access all Kind_Clr_Array;
   
   type Kind is (
      ListDirectory,
      WriteData,
      CreateDirectories,
      ReadExtendedAttributes,
      WriteExtendedAttributes,
      Traverse,
      DeleteSubdirectoriesAndFiles,
      ReadAttributes,
      WriteAttributes,
      Write,
      Delete,
      ReadPermissions,
      Read,
      ReadAndExecute,
      Modify,
      ChangePermissions,
      TakeOwnership,
      Synchronize,
      FullControl
   );
   
   for Kind use (
      ListDirectory => 1,
      WriteData => 2,
      CreateDirectories => 4,
      ReadExtendedAttributes => 8,
      WriteExtendedAttributes => 16,
      Traverse => 32,
      DeleteSubdirectoriesAndFiles => 64,
      ReadAttributes => 128,
      WriteAttributes => 256,
      Write => 278,
      Delete => 65536,
      ReadPermissions => 131072,
      Read => 131209,
      ReadAndExecute => 131241,
      Modify => 197055,
      ChangePermissions => 262144,
      TakeOwnership => 524288,
      Synchronize => 1048576,
      FullControl => 2032127
   );
   
   for Kind'Size use 32;
   
   type Kind_Ptr is access Kind;
   type Kind_Array is array(Natural range<>) of Kind_Ptr;
   type Kind_Array_Ptr is access all Kind_Array;
   
   function Instance return NetFrameworkWin32.IType_Ptr;
   
end;
