/* ====================================================================
 * Copyright (c) 2003-2006, 2008  Martin Hauner
 *                                http://subcommander.tigris.org
 *
 * Subcommander is licensed as described in the file doc/COPYING, which
 * you should have received as part of this distribution.
 * ====================================================================
 */

#ifndef _SC_CMDPROGRESSCALLBACK_H
#define _SC_CMDPROGRESSCALLBACK_H

// sc
class ScParam;
class Cancel;

/**
 * ScCmd progress callback.
 */
class CmdProgressCallback
{
public:
  virtual ~CmdProgressCallback(){}

  virtual void started( ScParam*, Cancel* ) = 0;
  virtual void finished( ScParam*, double ms = 0.0 ) = 0;
};


#endif // _SC_CMDPROGRESSCALLBACK_H
