Otawa  0.10
Plugin.h
Go to the documentation of this file.
1 /*
2  * $Id$
3  * Plugin class interface
4  *
5  * This file is part of OTAWA
6  * Copyright (c) 2007, IRIT UPS.
7  *
8  * OTAWA is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * OTAWA is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with OTAWA; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21  */
22 #ifndef OTAWA_DISPLAY_DRIVER_PLUGIN_H_
23 #define OTAWA_DISPLAY_DRIVER_PLUGIN_H_
24 
25 #include <elm/system/Plugin.h>
26 #include <otawa/display/Driver.h>
27 
28 namespace otawa { namespace display {
29 
30 using namespace elm;
31 
32 // Definitions
33 #define OTAWA_DISPLAY_HOOK display_plugin
34 #define OTAWA_DISPLAY_NAME "display_plugin"
35 #define OTAWA_DISPLAY_VERSION Version(1, 0, 0)
36 
37 // Plugin class
38 class Plugin: public elm::system::Plugin, public Driver {
39 public:
40  Plugin(
42  const elm::Version& version,
43  const elm::Version& plugger_version);
44 };
45 
46 } } // otawa::display
47 
48 #endif /* OTAWA_DISPLAY_DRIVER_PLUGIN_H_ */
A driver provides facilities to display a graph.
Definition: Driver.h:47
A plugin to provide driver to display graphs.
Definition: Plugin.h:38
cstring name
Definition: odisasm.cpp:107