Show IEditorPluginDescABC.h syntax highlighted
#ifndef __IEDITORPLUGINDESCABC_H__
#define __IEDITORPLUGINDESCABC_H__ 1
#include <osgDesigner/plugins/IPluginDescABC.h>
#include <osgDesigner/plugins/IEditorPluginWidgetABC.h>
namespace osgDesigner
{
// ** class to descript the plugin
class IEditorPluginDescABC: public IPluginDescABC
{
public:
typedef IEditorPluginWidgetABC instance_type;
typedef std::string key_type;
virtual std::string key() const { return (getName()); };
IEditorPluginDescABC() : IPluginDescABC() {}
protected:
virtual ~IEditorPluginDescABC() {}
public:
// ** type edited by the plugin
virtual const std::type_info& getEditedStdTypeInfo() const = 0;
virtual const char* getEditedTypeName() const = 0;
// ** Factory
virtual IEditorPluginWidgetABC* getNewInstance() = 0;
};
}
#endif // ** __IEDITORPLUGINDESCABC_H__ ** //
See more files for this project here