1
/***************************************************************************
4
* The georeferencer plugin is a tool for adding projection info to rasters
6
*--------------------------------------------------------------------------
8
* copyright : (C) 2004 by Tim Sutton
9
* email : tim@linfiniti.com
11
***************************************************************************/
13
/***************************************************************************
15
* This program is free software; you can redistribute it and/or modify *
16
* it under the terms of the GNU General Public License as published by *
17
* the Free Software Foundation; either version 2 of the License, or *
18
* (at your option) any later version. *
20
***************************************************************************/
23
/***************************************************************************
24
* QGIS Programming conventions:
26
* mVariableName - a class level member variable
27
* sVariableName - a static class level member variable
28
* variableName() - accessor for a class member (no 'get' in front of name)
29
* setVariableName() - mutator for a class member (prefix with 'set')
31
* Additional useful conventions:
33
* theVariableName - a method parameter (prefix with 'the')
34
* myVariableName - a locally declared variable within a method ('my' prefix)
36
* DO: Use mixed case variable names - myVariableName
37
* DON'T: separate variable names using underscores: my_variable_name (NO!)
39
* **************************************************************************/
41
#ifndef QGSGEOREFPLUGIN
42
#define QGSGEOREFPLUGIN
47
#include <qgisplugin.h>
57
* \brief [name] plugin for QGIS
60
class QgsGeorefPlugin: public QObject, public QgisPlugin
64
//////////////////////////////////////////////////////////////////////
66
// MANDATORY PLUGIN METHODS FOLLOW
68
//////////////////////////////////////////////////////////////////////
71
* Constructor for a plugin. The QgisApp and QgisIface pointers are passed by
72
* QGIS when it attempts to instantiate the plugin.
73
* @param Pointer to the QgisApp object
74
* @param Pointer to the QgisIface object.
76
QgsGeorefPlugin( QgisInterface * );
78
virtual ~ QgsGeorefPlugin();
82
virtual void initGui();
83
//! Show the dialog box
87
//! show the help document
89
//! update the plugins theme when the app tells us its theme is changed
90
void setCurrentTheme( QString theThemeName );
93
//////////////////////////////////////////////////////////////////////
95
// END OF MANDATORY PLUGIN METHODS
97
//////////////////////////////////////////////////////////////////////
101
////////////////////////////////////////////////////////////////////
103
// MANDATORY PLUGIN MEMBER DECLARATIONS .....
105
////////////////////////////////////////////////////////////////////
108
//! Pointer to the QGIS interface object
109
QgisInterface *mQGisIface;
110
//!pointer to the qaction for this plugin
111
QAction * mQActionPointer;
112
////////////////////////////////////////////////////////////////////
114
// ADD YOUR OWN MEMBER DECLARATIONS AFTER THIS POINT.....
116
////////////////////////////////////////////////////////////////////