summaryrefslogtreecommitdiff
path: root/src/candidates.ads
diff options
context:
space:
mode:
Diffstat (limited to 'src/candidates.ads')
-rw-r--r--src/candidates.ads8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/candidates.ads b/src/candidates.ads
index fb04a4e..8b76707 100644
--- a/src/candidates.ads
+++ b/src/candidates.ads
@@ -7,6 +7,9 @@ private with Ada.Containers.Vectors;
package Candidates is
+ type State_Name is (ACT, NT, TAS, SA, WA, VIC, QLD, NSW);
+
+
type Candidate is private;
type CandidateID is new Positive;
@@ -24,8 +27,9 @@ package Candidates is
procedure Read_Candidates
- (Filename, State : in String;
- Candidate_List : out Candidate_Vector);
+ (Filename : in String;
+ State : in State_Name;
+ Candidate_List : out Candidate_Vector);
function First