ViewportDistorter.hpp   StelViewportDistorter.hpp 
skipping to change at line 21 skipping to change at line 21
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, U SA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, U SA.
*/ */
#ifndef _VIEWPORTDISTORTER_HPP_ #ifndef _STELVIEWPORTDISTORTER_HPP_
#define _VIEWPORTDISTORTER_HPP_ #define _STELVIEWPORTDISTORTER_HPP_
class Projector; #include "StelProjectorType.hpp"
class QString; class QString;
class ViewportDistorter class StelViewportDistorter
{ {
public: public:
static ViewportDistorter *create(const QString &type, static StelViewportDistorter *create(const QString &type,
int width,int height, int width,int height,
Projector *prj); StelProjectorP prj);
// StelCore is needed for getProjectionType and setMaxFov // StelCore is needed for getProjectionType and setMaxFov
virtual ~ViewportDistorter(void) {} virtual ~StelViewportDistorter(void) {}
virtual QString getType(void) const = 0; virtual QString getType(void) const = 0;
virtual void prepare(void) const = 0; virtual void prepare(void) const = 0;
virtual void distort(void) const = 0; virtual void distort(void) const = 0;
virtual bool distortXY(int &x,int &y) const = 0; virtual bool distortXY(int &x,int &y) const = 0;
protected: protected:
ViewportDistorter(void) {} StelViewportDistorter(void) {}
private: private:
// no copying: // no copying:
ViewportDistorter(const ViewportDistorter&); StelViewportDistorter(const StelViewportDistorter&);
const ViewportDistorter &operator=(const ViewportDistorter&); const StelViewportDistorter &operator=(const StelViewportDistorter&)
;
}; };
#endif // _VIEWPORTDISTORTER_HPP_ #endif // _STELVIEWPORTDISTORTER_HPP_
 End of changes. 9 change blocks. 
10 lines changed or deleted 11 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/