Assorted trucutrú

This commit is contained in:
Alejandro R. Mosteo
2018-02-10 14:58:00 +01:00
parent a29b46f172
commit 7233d619dc
2 changed files with 15 additions and 2 deletions
+13
View File
@@ -0,0 +1,13 @@
package Alire.Platform with Preelaborate is
type Operating_Systems is (Unknown,
Linux,
Windows);
type Compilers is (Unknown,
GNAT_GPL_2017,
GNAT_FSF_7_2);
function Compiler return Compilers is (Unknown);
end Alire.Platform;
+2 -2
View File
@@ -26,9 +26,9 @@ package Alire.Requisites with Preelaborate is
type Compatible_Property is new Property with private;
package Property_Checker is
type Requisite is new Requisites.Requisite with null record;
type Requisite is abstract new Requisites.Requisite with null record;
function Is_Satisfied (R : Requisite; P : Compatible_Property) return Boolean;
function Is_Satisfied (R : Requisite; P : Compatible_Property) return Boolean is abstract;
-- This is the important function to override by Requisite implementations
-- The remainder methods are utilities that do not require modifications by the client.