/* ====================================================================
 * 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_EVENTSUPPORT_H
#define _SC_EVENTSUPPORT_H

// sc
namespace sc {
  class Exception;
}

// qt
class QEvent;
class QObject;


/**
 *  \name Event posting support.
 */
// @{
void postEvent( QEvent* e );
void postEvent( QObject* r, QEvent* e );

void postException( const sc::Exception& exc );
// @}



#endif // _SC_EVENTSUPPORT_H
