Loading...
Searching...
No Matches
Plugin.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2008 National Institute For Space Research (INPE) - Brazil.
3
4 This file is part of the TerraLib - a Framework for building GIS enabled
5 applications.
6
7 TerraLib is free software: you can redistribute it and/or modify
8 it under the terms of the GNU Lesser General Public License as published by
9 the Free Software Foundation, either version 3 of the License,
10 or (at your option) any later version.
11
12 TerraLib is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU Lesser General Public License for more details.
16
17 You should have received a copy of the GNU Lesser General Public License
18 along with TerraLib. See COPYING. If not, write to
19 TerraLib Team at <terralib-team@terralib.org>.
20 */
21
22/*!
23 \file terralib/ceditor/Plugin.h
24
25 \brief Plugin interface for dynamic loading of the Code Editor.
26*/
27
28// TerraLib
29#include "../core/plugin/CppPlugin.h"
30// QT
31#include <QObject>
32
33class QAction;
34
35namespace te
36{
37 namespace ce
38 {
39 class CodeEditorDialog;
40 class Plugin : public QObject, public te::core::CppPlugin
41 {
42 Q_OBJECT
43
44 public:
45 Plugin(const te::core::PluginInfo& pluginInfo);
46
48
49 void startup();
50
51 void shutdown();
52
53 protected slots:
55
56 private:
59 };
60 }
61}
te::ce::CodeEditorDialog * m_codeEditorDialog
Definition: Plugin.h:58
Plugin(const te::core::PluginInfo &pluginInfo)
void shutdown()
This method will be called by applicatons to shutdown plugin's functionality.
QAction * m_codeEditorAction
Definition: Plugin.h:57
void startup()
This method will be called by applications to startup some plugin's functionality.
void onCodeEditorActionClicked(bool)
The base class for C++ plugins.
Definition: CppPlugin.h:47
TerraLib.
#define slots
Basic information about a plugin.
Definition: PluginInfo.h:64