1
/***************************************************************************
3
copyright : (C) 2003 by Gary E.Sherman
4
email : sherman at mrcc.com
5
***************************************************************************/
7
/***************************************************************************
9
* This program is free software; you can redistribute it and/or modify *
10
* it under the terms of the GNU General Public License as published by *
11
* the Free Software Foundation; either version 2 of the License, or *
12
* (at your option) any later version. *
14
***************************************************************************/
15
/* $Id: qgsmaplayerinterface.h 4992 2006-03-10 03:11:06Z g_j_m $ */
16
#ifndef QGSMAPLAYERINTERFACE_H
17
#define QGSMAPLAYERINTERFACE_H
19
* Interface class for map layer plugins
25
class QgsMapLayerInterface: public QObject{
28
virtual void setQgisMainWindow(QgisApp *qgis) = 0;
29
// a test function to return an int
30
virtual int getInt()=0;
31
// setup the plugin's GUI
32
virtual void initGui()=0;
34
virtual void unload()=0;
36
virtual void draw() = 0;
39
#endif // QGSMAPLAYERINTERFACE_H