Merge branch 'fixes' into main/rendor-staging
[ryzomcore.git] / nel / src / gui / link_hack.cpp
blobba784736fd0a7ec68ef9d2c62bc99eaabd9ad5db
1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010 Winch Gate Property Limited
3 //
4 // This source file has been modified by the following contributors:
5 // Copyright (C) 2012-2014 Laszlo KIS-ADAM (dfighter) <dfighter1985@gmail.com>
6 // Copyright (C) 2013-2014 Jan BOON (Kaetemi) <jan.boon@kaetemi.be>
7 //
8 // This program is free software: you can redistribute it and/or modify
9 // it under the terms of the GNU Affero General Public License as
10 // published by the Free Software Foundation, either version 3 of the
11 // License, or (at your option) any later version.
13 // This program is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 // GNU Affero General Public License for more details.
18 // You should have received a copy of the GNU Affero General Public License
19 // along with this program. If not, see <http://www.gnu.org/licenses/>.
22 #include "stdpch.h"
23 #include "nel/gui/dbview_bar3.h"
24 #include "nel/gui/dbview_number.h"
25 #include "nel/gui/dbview_quantity.h"
26 #include "nel/gui/view_pointer.h"
27 #include "nel/gui/group_editbox_decor.h"
29 #ifdef DEBUG_NEW
30 #define new DEBUG_NEW
31 #endif
33 namespace NLGUI
35 void ifexprufct_forcelink();
36 void force_link_dbgroup_select_number_cpp();
37 void force_link_dbgroup_combo_box_cpp();
38 void force_link_group_wheel_cpp();
40 /// Necessary so the linker doesn't drop the code of these classes from the library
41 void LinkHack()
43 CDBViewBar3::forceLink();
44 CDBViewNumber::forceLink();
45 CDBViewQuantity::forceLink();
46 CViewPointer::forceLink();
47 ifexprufct_forcelink();
48 force_link_dbgroup_select_number_cpp();
49 force_link_dbgroup_combo_box_cpp();
50 force_link_group_wheel_cpp();
51 CGroupEditBoxDecor::forceLink();