From c85ff25617529ae3559a953589eb6c66bd67ef34 Mon Sep 17 00:00:00 2001 From: Dave Date: Sun, 21 Dec 2014 00:20:57 +0200 Subject: [PATCH] Added a NoHashInterface to allow users to control their own hash db --- src/nodash/core/spheres/NoHashInterface.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/nodash/core/spheres/NoHashInterface.java diff --git a/src/nodash/core/spheres/NoHashInterface.java b/src/nodash/core/spheres/NoHashInterface.java new file mode 100644 index 0000000..c4322e4 --- /dev/null +++ b/src/nodash/core/spheres/NoHashInterface.java @@ -0,0 +1,13 @@ +package nodash.core.spheres; + +import nodash.models.NoUser; + +public interface NoHashInterface { + public void setup(); + public void saveToFile(); + public void addNewNoUser(NoUser user); + public void insertHash(String hash); + public void removeHash(String hash); + public boolean checkHash(String hash); + public int size(); +}