khanat-opennel-code/code/nel/src/gui/link_hack.cpp

19 lines
443 B
C++
Raw Normal View History

2013-02-14 15:53:06 +00:00
#include "nel/gui/dbview_bar3.h"
#include "nel/gui/dbview_number.h"
#include "nel/gui/dbview_quantity.h"
#include "nel/gui/view_pointer.h"
namespace NLGUI
{
void ifexprufct_forcelink();
/// Necessary so the linker doesn't drop the code of these classes from the library
void LinkHack()
{
CDBViewBar3::forceLink();
CDBViewNumber::forceLink();
CDBViewQuantity::forceLink();
CViewPointer::forceLink();
ifexprufct_forcelink();
}
}