/* ====================================================================
 * Copyright (c) 2003-2006, 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_CMDRESULTCALLBACK_H
#define _SC_CMDRESULTCALLBACK_H

// sc
class ScParam;
namespace sc {
  class Error;
}


/**
 * ScCmd result callback. A ScCmd will call this when it is finished.
 */
class CmdResultCallback
{
public:
  virtual ~CmdResultCallback(){}
  virtual void handleResult( ScParam*, const sc::Error* ) = 0;
};


#endif // _SC_CMDRESULTCALLBACK_H
