/* ====================================================================
 * 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_EXTERNPROVIDERIMPL_H
#define _SC_EXTERNPROVIDERIMPL_H

// sc
#include "ExternProvider.h"
class ScModel;

// qt
class QWidget;


class ExternProviderImpl : public ExternProvider
{
public:
  ExternProviderImpl( ScModel* );
  virtual ~ExternProviderImpl();
  
  // ExternProvider
  bool selectUrl( QWidget* p, const sc::String& src, sc::String& result, long flags );
  bool selectPath( QWidget* p, const sc::String& src, sc::String& result, long flags );

private:
  ScModel* _model;
};

#endif //  _SC_EXTERNPROVIDERIMPL_H
