/***************************************************************************
                          qgslayerprojectionselector.h
                        Set user layerprojectionselector and preferences
                             -------------------
    begin                : May 28, 2004
    copyright            : (C) 2004 by Gary E.Sherman
    email                : sherman at mrcc.com
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/
/* $Id: qgslayerprojectionselector.h,v 1.4.2.2 2005/08/31 03:45:17 telwertowski Exp $ */
#ifndef QGSLAYERPROJECTIONSELECTOR_H
#define QGSLAYERPROJECTIONSELECTOR_H
class QString;
#ifdef WIN32
#include "qgslayerprojectionselectorbase.h"
#else
#include "qgslayerprojectionselectorbase.uic.h"
#endif
/**
 * \class QgsLayerProjectionSelector
 * \brief Set Projection system for a layer
 */
class QgsLayerProjectionSelector :public QgsLayerProjectionSelectorBase{
  Q_OBJECT;
  public:
    /**
     * Constructor
     */
    QgsLayerProjectionSelector(QWidget *parent=0, const char *name=0, bool modal=true);
    //! Destructor
    ~QgsLayerProjectionSelector();

 public slots:
      void pbnOK_clicked();
      QString getCurrentProj4String();
      long getCurrentSRSID();
      void setSelectedSRSName(QString theName);
      void setSelectedSRSID(long theID);
};

#endif // #ifndef QGSLAYERPROJECTIONSELECTOR_H
