mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-15 12:09:06 +00:00
NLGUI files dbgroup_combo_box.cpp and dbgroup_select_number.cpp were not linked
This commit is contained in:
parent
66c1f68359
commit
98d6facd71
3 changed files with 10 additions and 2 deletions
|
@ -28,10 +28,12 @@
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace NLMISC;
|
using namespace NLMISC;
|
||||||
|
|
||||||
NLMISC_REGISTER_OBJECT(CViewBase, CDBGroupComboBox, std::string, "combo_box");
|
|
||||||
|
|
||||||
namespace NLGUI
|
namespace NLGUI
|
||||||
{
|
{
|
||||||
|
NLMISC_REGISTER_OBJECT(CViewBase, CDBGroupComboBox, std::string, "combo_box");
|
||||||
|
|
||||||
|
void force_link_dbgroup_combo_box_cpp() { }
|
||||||
|
|
||||||
// Compare strings
|
// Compare strings
|
||||||
static inline bool lt_text(const std::pair<int,ucstring> &s1, const std::pair<int,ucstring> &s2)
|
static inline bool lt_text(const std::pair<int,ucstring> &s1, const std::pair<int,ucstring> &s2)
|
||||||
{
|
{
|
||||||
|
|
|
@ -31,6 +31,8 @@ namespace NLGUI
|
||||||
{
|
{
|
||||||
NLMISC_REGISTER_OBJECT(CViewBase, CDBGroupSelectNumber, std::string, "select_number");
|
NLMISC_REGISTER_OBJECT(CViewBase, CDBGroupSelectNumber, std::string, "select_number");
|
||||||
|
|
||||||
|
void force_link_dbgroup_select_number_cpp() { }
|
||||||
|
|
||||||
// ***************************************************************************
|
// ***************************************************************************
|
||||||
CDBGroupSelectNumber::CDBGroupSelectNumber(const TCtorParam ¶m) :
|
CDBGroupSelectNumber::CDBGroupSelectNumber(const TCtorParam ¶m) :
|
||||||
CInterfaceGroup(param)
|
CInterfaceGroup(param)
|
||||||
|
|
|
@ -24,6 +24,8 @@
|
||||||
namespace NLGUI
|
namespace NLGUI
|
||||||
{
|
{
|
||||||
void ifexprufct_forcelink();
|
void ifexprufct_forcelink();
|
||||||
|
void force_link_dbgroup_select_number_cpp();
|
||||||
|
void force_link_dbgroup_combo_box_cpp();
|
||||||
|
|
||||||
/// Necessary so the linker doesn't drop the code of these classes from the library
|
/// Necessary so the linker doesn't drop the code of these classes from the library
|
||||||
void LinkHack()
|
void LinkHack()
|
||||||
|
@ -33,5 +35,7 @@ namespace NLGUI
|
||||||
CDBViewQuantity::forceLink();
|
CDBViewQuantity::forceLink();
|
||||||
CViewPointer::forceLink();
|
CViewPointer::forceLink();
|
||||||
ifexprufct_forcelink();
|
ifexprufct_forcelink();
|
||||||
|
force_link_dbgroup_select_number_cpp();
|
||||||
|
force_link_dbgroup_combo_box_cpp();
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue