~ubuntu-branches/ubuntu/maverick/qgis/maverick

« back to all changes in this revision

Viewing changes to src/plugins/oracle_raster/qgsoracle_plugin.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
    oracleplugin.h
 
3
    -------------------
 
4
    begin                : Oracle Spatial Plugin
 
5
    copyright            : (C) Ivan Lucena
 
6
    email                : ivan.lucena@pmldnet.com
 
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$ */
 
16
 
 
17
#ifndef OraclePlugin_H
 
18
#define OraclePlugin_H
 
19
 
 
20
// Qt Includes
 
21
#include <QObject>
 
22
#include <QAction>
 
23
 
 
24
// QGIS Includes
 
25
#include <qgisplugin.h>
 
26
#include <qgisinterface.h>
 
27
#include <qgisgui.h>
 
28
 
 
29
class QgsOraclePlugin : public QObject, public QgisPlugin
 
30
{
 
31
    Q_OBJECT
 
32
 
 
33
  public:
 
34
 
 
35
    /**
 
36
     * Constructor for a plugin. The QgisInterface pointer is passed by
 
37
     * QGIS when it attempts to instantiate the plugin.
 
38
     * @param theInterface Pointer to the QgisInterface object.
 
39
     */
 
40
    QgsOraclePlugin( QgisInterface * theInterface );
 
41
    //! Destructor
 
42
    virtual ~QgsOraclePlugin();
 
43
 
 
44
  public slots:
 
45
 
 
46
    //! init the gui
 
47
    virtual void initGui();
 
48
    //! Show the dialog box
 
49
    void run();
 
50
    //! unload the plugin
 
51
    void unload();
 
52
    //! show the help document
 
53
    void help();
 
54
 
 
55
  private:
 
56
 
 
57
    int mPluginType;
 
58
    //! Pointer to the QGIS interface object
 
59
    QgisInterface *mQGisIface;
 
60
    //!pointer to the qaction for this plugin
 
61
    QAction * mQActionPointer;
 
62
 
 
63
};
 
64
 
 
65
#endif //OraclePlugin_H