QGIS/qgis/plugins/qgispluginmenu.h
gsherman a4a6ea0a60 mods to plugin api
git-svn-id: http://svn.osgeo.org/qgis/trunk@140 c8812cc2-4d05-0410-92ff-de0c093fc19c
2002-10-14 16:32:21 +00:00

27 lines
558 B
C++

#ifndef QGISPLUGINMENU_H
#define QGISPLUGINMENU_H
#include <map>
#include "qgispluginguielement"
/*! \class QgisPluginMenu
* \brief Class to define a plugin menu
*
*
*
*/
class QgisPluginMenu : public QgisPluginGuiElement {
public:
//! Constructor
QgisPluginMenu();
//! Type of element (see ELEMENTS enum in qgisplugin.h)
QGIS_GUI_TYPE type();
//! destructor
virtual ~QgisPluginMenu();
private:
//! Map to define slot called when a menu item is activated
std::map<QString menuItemName, QString menuItemSlot> itemSlots;
};
#endif QGISPLUGINMENU_H