Unify copyright file headers, update years to include 2011.
[jSite.git] / src / de / todesbaum / jsite / application / InsertListener.java
index 65b0602..5386a91 100644 (file)
@@ -1,6 +1,5 @@
 /*
- * jSite - a tool for uploading websites into Freenet
- * Copyright (C) 2006 David Roden
+ * jSite - InsertListener.java - Copyright © 2006–2011 David Roden
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -60,6 +59,15 @@ public interface InsertListener extends EventListener {
        public void projectInsertStarted(Project project);
 
        /**
+        * Notifies a listener that the upload of a project has finished and the
+        * inserting will start now.
+        *
+        * @param project
+        *            The project that has been uploaded
+        */
+       public void projectUploadFinished(Project project);
+
+       /**
         * Notifies a listener that a project insert has generated a URI.
         *
         * @param project
@@ -94,8 +102,8 @@ public interface InsertListener extends EventListener {
         * @param project
         *            The project being inserted
         * @param success
-        *            <code>true</code> if the insert succeeded,
-        *            <code>false</code> otherwise
+        *            <code>true</code> if the insert succeeded, <code>false</code>
+        *            otherwise
         * @param cause
         *            The cause of a failure, if any (may be <code>null</code>)
         */