/usr/include/tulip/Plugin.h is in libtulip-dev 3.1.2-2.3ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | //-*-c++-*-
/**
Authors: David Auber, Patrick Mary, Morgan Mathiaut
from the LaBRI Visualization Team
Email : auber@tulip-software.org
Last modification : 13/03/2009
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
*/
#ifndef TULIPPLUGIN_H
#define TULIPPLUGIN_H
#include <string>
namespace tlp {
/** Common interface for plug-ins.*/
class Plugin {
public:
virtual ~Plugin(){}
/**Return the name of the plug-in, be careful,
this name must be unique, if two plug-ins have the same name
only the latest loaded will be available*/
virtual std::string getName() const=0;
/* Returns the group name of the plug-in,
a string with subgroup names separated by ::
ex: trees::planar trees */
virtual std::string getGroup() const=0;
/**Return the author of the plug-in*/
virtual std::string getAuthor() const=0;
/**Return the date of creation of the plug-in*/
virtual std::string getDate() const=0;
/**Return free information about the plug-in*/
virtual std::string getInfo() const=0;
/**Return the whole release number of the plug-in*/
virtual std::string getRelease() const=0;
/**Return the major release number of the plug-in*/
virtual std::string getMajor() const=0;
/**Return the minor release number of the plug-in*/
virtual std::string getMinor() const=0;
/**Return the whole Tulip release number the plug-in is build with*/
virtual std::string getTulipRelease() const=0;
/**Return the major Tulip release number the plug-in is build with*/
virtual std::string getTulipMajor() const=0;
/**Return the major Tulip release number the plug-in is build with*/
virtual std::string getTulipMinor() const=0;
};
}
#endif
|