~ubuntu-branches/ubuntu/wily/qgis/wily

« back to all changes in this revision

Viewing changes to src/gui/qgsmaplayerinterface.h

  • Committer: Bazaar Package Importer
  • Author(s): Johan Van de Wauw
  • Date: 2010-07-11 20:23:24 UTC
  • mfrom: (3.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100711202324-5ktghxa7hracohmr
Tags: 1.4.0+12730-3ubuntu1
* Merge from Debian unstable (LP: #540941).
* Fix compilation issues with QT 4.7
* Add build-depends on libqt4-webkit-dev 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/***************************************************************************
2
 
    begin                : Jul 10 2003
3
 
    copyright            : (C) 2003 by Gary E.Sherman
4
 
    email                : sherman at mrcc.com
5
 
 ***************************************************************************/
6
 
 
7
 
/***************************************************************************
8
 
 *                                                                         *
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.                                   *
13
 
 *                                                                         *
14
 
 ***************************************************************************/
15
 
 /* $Id: qgsmaplayerinterface.h 4992 2006-03-10 03:11:06Z g_j_m $ */
16
 
#ifndef QGSMAPLAYERINTERFACE_H
17
 
#define QGSMAPLAYERINTERFACE_H
18
 
/** 
19
 
* Interface class for map layer plugins
20
 
*/
21
 
#include <QObject>
22
 
#include "qgisapp.h"
23
 
class Q3MainWindow;
24
 
 
25
 
class QgsMapLayerInterface: public QObject{
26
 
        Q_OBJECT
27
 
public:
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;
33
 
// unload the plugin
34
 
virtual void unload()=0;
35
 
// draw function
36
 
virtual void draw() = 0;
37
 
 
38
 
};
39
 
#endif // QGSMAPLAYERINTERFACE_H