Commit cb35964a authored by mr-ti's avatar mr-ti
Browse files

No commit message

No commit message
parent 96d5cb54
//
// C++ Implementation: cunipluginlib
//
// Description:
//
//
// Author: Emeric Verschuur <ct-info@mr-ti.com>, (C) 2007
//
// Copyright: See COPYING file that comes with this distribution
//
//
#include "cunipluginlib.h"
#include <stdlib.h>
#ifndef WIN32
#include <dlfcn.h>
#endif
/**
* @brief CUniPlugin constructor.
* @param config Configuration.
* @param path Plugin path.
* @param name Plugin name.
*/
CUniPlugin::CUniPlugin(void *handle, ExecFct execFct):CUniObj(){
}
/**
* @brief CUniPlugin destructor.
*/
CUniPlugin::~CUniPlugin(){
}
/**
* @brief The name of the class.
* @return "CUniPlugin"
*/
string CUniPlugin::className() {
return "CUniPlugin";
}
//
// C++ Interface: cunipluginlib
//
// Description:
//
//
// Author: Emeric Verschuur <ct-info@mr-ti.com>, (C) 2007
//
// Copyright: See COPYING file that comes with this distribution
//
//
/**
* @author Emeric VERSCHUUR <contact@mr-ti.com>, (C) 2007
*/
#ifndef DDNSSPLUGIN_H
#define DDNSSPLUGIN_H
/**
* @brief
*/
class CUniPlugin:public CUniObj{
public:
typedef void (*ExecFct)(const string&);
CUniPlugin(void *handle, ExecFct execFct);
~CUniPlugin();
ExecFct exec;
virtual string className();
private:
void *handle;
};
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment