1
/***************************************************************************
2
* Copyright (C) 2008 Paolo L. Scala, Barbara Rita Barricelli, Marco Padula *
3
* CNR, Milan Unit (Information Technology), *
4
* Construction Technologies Institute.\n"; *
6
* email : Paolo L. Scala <scala@itc.cnr.it> *
8
* This is a plugin generated from the QGIS plugin template *
10
* This program is free software; you can redistribute it and/or modify *
11
* it under the terms of the GNU General Public License as published by *
12
* the Free Software Foundation; either version 2 of the License, or *
13
* (at your option) any later version. *
16
* **************************************************************************/
17
#ifndef dxf2shpConverter_H
18
#define dxf2shpConverter_H
24
#include "../qgisplugin.h"
26
//forward declarations
32
* \class dxf2shpConverter:
33
* \brief DXF importer plugin for QGIS
35
class dxf2shpConverter: public QObject, public QgisPlugin
40
//////////////////////////////////////////////////////////////////////
42
// MANDATORY PLUGIN METHODS FOLLOW
44
//////////////////////////////////////////////////////////////////////
47
* Constructor for a plugin. The QgisInterface pointer is passed by
48
* QGIS when it attempts to instantiate the plugin.
49
* @param theInterface Pointer to the QgisInterface object.
51
dxf2shpConverter( QgisInterface *theInterface );
53
virtual ~dxf2shpConverter();
57
virtual void initGui();
58
//! Show the dialog box
62
//! show the help document
64
//! update the plugins theme when the app tells us its theme is changed
65
void setCurrentTheme( QString theThemeName );
67
void addMyLayer( QString, QString );
71
////////////////////////////////////////////////////////////////////
73
// MANDATORY PLUGIN PROPERTY DECLARATIONS .....
75
////////////////////////////////////////////////////////////////////
78
//! Pointer to the QGIS interface object
79
QgisInterface *mQGisIface;
80
//!pointer to the qaction for this plugin
81
QAction *mQActionPointer;
82
////////////////////////////////////////////////////////////////////
84
// ADD YOUR OWN PROPERTY DECLARATIONS AFTER THIS POINT.....
86
////////////////////////////////////////////////////////////////////
90
#endif //dxf2shpConverter_H