@@ -0,0 +1,1930 @@
+/**%0A * Author : Rishi Gupta%0A * %0A * This file is part of 'serial communication manager' library.%0A *%0A * The 'serial communication manager' is free software: you can redistribute it and/or modify%0A * it under the terms of the GNU Lesser General Public License as published by the Free Software %0A * Foundation, either version 3 of the License, or (at your option) any later version.%0A *%0A * The 'serial communication manager' is distributed in the hope that it will be useful, but%0A * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A %0A * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.%0A *%0A * You should have received a copy of the GNU Lesser General Public License%0A * along with serial communication manager. If not, see %3Chttp://www.gnu.org/licenses/%3E.%0A */%0A%0Apackage com.embeddedunveiled.serial;%0A%0A/**%0A * %3Cp%3EThe graphical user interface applications may want to show progress for example %0A * using a progress bar to inform user about how much data have been sent to receiver %0A * end. Such applications can use this interface for this purpose.%3C/p%3E%0A */%0Apublic interface IProgressXmodem %7B%0A%0A%09/**%0A%09 * %3Cp%3EThe class implementing this interface is expected to override onXmodemSentProgressUpdate() %0A%09 * method. This method gets called whenever a block is sent using Xmodem protocol.%3C/p%3E%0A%09 * %0A%09 * @param numBlock number of the block sent by this application till the time this method is %0A%09 *         called.%0A%09 */%0A%09public abstract void onXmodemSentProgressUpdate(long numBlock);%0A%0A%09/**%0A%09 * %3Cp%3EThe class implementing this interface is expected to override onXmodemReceiveProgressUpdate() %0A%09 * method. This method gets called whenever a block is sent using Xmodem protocol.%3C/p%3E%0A%09 * %0A%09 * @param numBlock number of the block received by this application till the time this method %0A%09 *         is called.%0A%09 */%0A%09public abstract void onXmodemReceiveProgressUpdate(long numBlock);%0A%7D%0A

add interface to update GUI about xmodem transfer