]> gitweb.michael.orlitzky.com - mailshears.git/blobdiff - src/mailstore.rb
Convert DovecotMailstore to a plugin, and generalize the main mailshears script to...
[mailshears.git] / src / mailstore.rb
index 4d75b87612f32fc1204374055c49aed62b793982..19772d356087cddb330d89f79876f1ddb50d6f21 100644 (file)
@@ -1,13 +1,20 @@
 class Mailstore
-  
+
   attr_accessor :domain_root
-  
-  def initialize(domain_root)
-    @domain_root = domain_root
+
+  def def get_domains_from_filesystem
+    raise NotImplementedError
+  end
+
+  def get_accounts_from_filesystem(domains)
+    raise NotImplementedError
+  end
+
+  def get_domain_path(domain)
+    raise NotImplementedError
   end
-  
-  def get_accounts_from_filesystem()
+
+  def get_account_path(account)
     raise NotImplementedError
   end
-  
 end