8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-02-02 10:40:38 +01:00

Work in progress standardizing the external engines API.

This commit is contained in:
asfernandes 2013-03-25 15:59:38 +00:00
parent ee953572eb
commit 78c168c78e

View File

@ -456,6 +456,16 @@ public:
}
public:
virtual int FB_CARG getVersion()
{
return FB_EXTERNAL_RESULT_SET_VERSION;
}
virtual IPluginModule* FB_CARG getModule()
{
return NULL;
}
virtual void FB_CARG dispose()
{
delete static_cast<This*>(this);
@ -485,6 +495,16 @@ template <typename This>
class Function : public ExternalFunction, public Helper
{
public:
virtual int FB_CARG getVersion()
{
return FB_EXTERNAL_FUNCTION_VERSION;
}
virtual IPluginModule* FB_CARG getModule()
{
return NULL;
}
virtual void FB_CARG dispose()
{
delete static_cast<This*>(this);
@ -516,6 +536,16 @@ template <typename This>
class Procedure : public ExternalProcedure, public Helper
{
public:
virtual int FB_CARG getVersion()
{
return FB_EXTERNAL_PROCEDURE_VERSION;
}
virtual IPluginModule* FB_CARG getModule()
{
return NULL;
}
virtual void FB_CARG dispose()
{
delete static_cast<This*>(this);
@ -547,6 +577,16 @@ template <typename This>
class Trigger : public ExternalTrigger, public Helper
{
public:
virtual int FB_CARG getVersion()
{
return FB_EXTERNAL_TRIGGER_VERSION;
}
virtual IPluginModule* FB_CARG getModule()
{
return NULL;
}
virtual void FB_CARG dispose()
{
delete static_cast<This*>(this);