blob: 8f478e643c8f88ac4effbf896343beed2ad14cf5 [file] [log] [blame]
/*
* This file was auto-generated by the Axis C++ Web Service Generator (WSDL2Ws)
* This file contains the two export functions of the Web service Dynamic Library
*/
#include "pt1Wrapper.hpp"
extern "C" {
STORAGE_CLASS_INFO
int GetClassInstance(BasicHandler **inst)
{
*inst = new BasicHandler();
WrapperClassHandler* pWCH = new pt1Wrapper();
(*inst)->_functions = 0;
if (pWCH)
{
(*inst)->_object = pWCH;
return pWCH->init();
}
return AXIS_FAIL;
}
STORAGE_CLASS_INFO
int DestroyInstance(BasicHandler *inst)
{
if (inst)
{
WrapperClassHandler* pWCH = reinterpret_cast<WrapperClassHandler*>(inst);
pWCH->fini();
delete pWCH;
delete inst;
return AXIS_SUCCESS;
}
return AXIS_FAIL;
}
}