Author: xor
Date: 2008-10-28 02:48:09 +0000 (Tue, 28 Oct 2008)
New Revision: 23135

Added:
   trunk/plugins/I_Exist/
   trunk/plugins/I_Exist/I_Exist_Plugin.java
Log:
Plugin idea :)

Added: trunk/plugins/I_Exist/I_Exist_Plugin.java
===================================================================
--- trunk/plugins/I_Exist/I_Exist_Plugin.java                           (rev 0)
+++ trunk/plugins/I_Exist/I_Exist_Plugin.java   2008-10-28 02:48:09 UTC (rev 
23135)
@@ -0,0 +1,93 @@
+/**
+ * 
+ */
+package plugins.I_Exist;
+
+import freenet.l10n.L10n.LANGUAGE;
+import freenet.pluginmanager.FredPlugin;
+import freenet.pluginmanager.FredPluginHTTP;
+import freenet.pluginmanager.FredPluginL10n;
+import freenet.pluginmanager.FredPluginThreadless;
+import freenet.pluginmanager.FredPluginVersioned;
+import freenet.pluginmanager.PluginHTTPException;
+import freenet.pluginmanager.PluginRespirator;
+import freenet.support.api.HTTPRequest;
+
+/**
+ * A suggested plugin to report your existence on WoT.
+ * It can insert a Freesite with your name, a picture of yourself, your e-mail 
address, your GnuPG key, your address, maybe phone number, etc.
+ * If you publish your information via this plugin, nobody can erase your 
identity if enough people have trusted you.
+ * - If the plugin downloads all editions of each identity which has enough 
trust randomly distributed over time, then each identity will
+ * continue to exist indefinitely.
+ * 
+ *   
+ * 
+ * @author xor
+ *
+ */
+public class I_Exist_Plugin implements FredPlugin, FredPluginHTTP, 
FredPluginThreadless, FredPluginVersioned, FredPluginL10n {
+
+       /**
+        * 
+        */
+       public I_Exist_Plugin() {
+               // TODO Auto-generated constructor stub
+       }
+
+       /* (non-Javadoc)
+        * @see 
freenet.pluginmanager.FredPlugin#runPlugin(freenet.pluginmanager.PluginRespirator)
+        */
+       public void runPlugin(PluginRespirator pr) {
+               // TODO Auto-generated method stub
+
+       }
+
+       /* (non-Javadoc)
+        * @see freenet.pluginmanager.FredPlugin#terminate()
+        */
+       public void terminate() {
+               // TODO Auto-generated method stub
+
+       }
+
+       /* (non-Javadoc)
+        * @see 
freenet.pluginmanager.FredPluginHTTP#handleHTTPGet(freenet.support.api.HTTPRequest)
+        */
+       public String handleHTTPGet(HTTPRequest request) throws 
PluginHTTPException {
+               // TODO Auto-generated method stub
+               return null;
+       }
+
+       /* (non-Javadoc)
+        * @see 
freenet.pluginmanager.FredPluginHTTP#handleHTTPPost(freenet.support.api.HTTPRequest)
+        */
+       public String handleHTTPPost(HTTPRequest request) throws 
PluginHTTPException {
+               // TODO Auto-generated method stub
+               return null;
+       }
+
+       /* (non-Javadoc)
+        * @see freenet.pluginmanager.FredPluginVersioned#getVersion()
+        */
+       public String getVersion() {
+               // TODO Auto-generated method stub
+               return null;
+       }
+
+       /* (non-Javadoc)
+        * @see freenet.pluginmanager.FredPluginL10n#getString(java.lang.String)
+        */
+       public String getString(String key) {
+               // TODO Auto-generated method stub
+               return null;
+       }
+
+       /* (non-Javadoc)
+        * @see 
freenet.pluginmanager.FredPluginL10n#setLanguage(freenet.l10n.L10n.LANGUAGE)
+        */
+       public void setLanguage(LANGUAGE newLanguage) {
+               // TODO Auto-generated method stub
+
+       }
+
+}


Reply via email to