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

19 lines
No EOL
461 B
C++

#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();
}
}