immortalwrt/package/lean/antileech/src/Interface.cpp
ope087 2b98cdae2e Add antileech for amule
* add antileech for amule-dlp

aMule-dlp必备组件缺少这个插件aMule-dlp是不能正常下载东西的.

* Delete Makefile

* Delete CString_wx.h

* Delete Interface.cpp

* Delete Makefile.am

* Delete antiLeech.cpp

* Delete antiLeech.h

* Delete antiLeech_wx.cpp

* Delete antiLeech_wx.h

* Delete autogen.sh

* Delete configure.ac

* Delete sdc2amule.diff

* add antileech for amule-dlp

aMule-dlp必备组件缺少这个插件aMule-dlp是不能正常下载东西的.

* Update README
2018-11-19 17:03:34 +08:00

29 lines
799 B
C++

/*
* =====================================================================================
*
* Filename: Interface.cpp
*
* Description: A part of aMule DLP
*
* Created: 2011-02-24 19:49
*
* Author: Bill Lee , bill.lee.y@gmail.com
*
* Copyright (c) 2011, Bill Lee
* License: GNU General Public License
*
* =====================================================================================
*/
/* ##### HEADER FILE INCLUDES ################################################### */
#include "antiLeech.h"
/* ##### FUNCTION DEFINITIONS - EXPORTED FUNCTIONS ############################ */
extern "C" IantiLeech* createAntiLeechInstant(){
return new CantiLeech;
}
extern "C" int destoryAntiLeechInstant(IantiLeech* ptr){
delete ptr;
return 0;
}