CHANGED: #1471 GUI library will now build with the new externals and Visual Studio 2010.

This commit is contained in:
dfighter1985 2012-10-24 18:16:01 +02:00
parent bbeaec0461
commit 0d27998506
11 changed files with 31 additions and 24 deletions

View file

@ -31,7 +31,7 @@ typedef std::map<std::string, std::string> TStyle;
extern "C" extern "C"
{ {
#include "WWWInit.h" #include "libwww/WWWInit.h"
} }
namespace NLGUI namespace NLGUI

View file

@ -22,7 +22,7 @@
extern "C" extern "C"
{ {
#include "WWWInit.h" #include "libwww/WWWInit.h"
} }
namespace NLGUI namespace NLGUI

View file

@ -20,7 +20,7 @@
#define LIBWWW_NEL_STREAM_H #define LIBWWW_NEL_STREAM_H
#include "HTProt.h" #include "libwww/HTProt.h"
extern "C" HTProtCallback HTLoadNeLFile; extern "C" HTProtCallback HTLoadNeLFile;
extern "C" PUBLIC HTInputStream * HTNeLReader_new (HTHost * host, HTChannel * ch, void * param, int mode); extern "C" PUBLIC HTInputStream * HTNeLReader_new (HTHost * host, HTChannel * ch, void * param, int mode);

View file

@ -19,9 +19,9 @@
extern "C" extern "C"
{ {
#include <lua.h> #include <lua/lua.h>
#include <lauxlib.h> #include <lua/lauxlib.h>
#include <lualib.h> #include <lua/lualib.h>
} }
// load the lua dll, return 1 on success // load the lua dll, return 1 on success

View file

@ -22,6 +22,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <map> #include <map>
#include <algorithm>
namespace NLGUI namespace NLGUI
{ {

View file

@ -468,7 +468,7 @@ namespace NLGUI
AHMap[ key ] = value; AHMap[ key ] = value;
} }
std::string CCtrlBase::getAHString( const stlpx_std::string &key ) const std::string CCtrlBase::getAHString( const std::string &key ) const
{ {
std::map< std::string, std::map< std::string, std::string > >::const_iterator itr = AHCache.find( getId() ); std::map< std::string, std::map< std::string, std::string > >::const_iterator itr = AHCache.find( getId() );
if( itr == AHCache.end() ) if( itr == AHCache.end() )

View file

@ -100,7 +100,7 @@ namespace NLGUI
} }
} }
std::string CGroupEditBox::getProperty( const stlpx_std::string &name ) const std::string CGroupEditBox::getProperty( const std::string &name ) const
{ {
if( name == "onchange" ) if( name == "onchange" )
{ {

View file

@ -18,12 +18,14 @@
#define NOMINMAX #define NOMINMAX
#include "nel/gui/group_html.h"
// LibWWW // LibWWW
extern "C" extern "C"
{ {
#include "WWWLib.h" /* Global Library Include file */ #include "libwww/WWWLib.h" /* Global Library Include file */
#include "WWWApp.h" #include "libwww/WWWApp.h"
#include "WWWInit.h" #include "libwww/WWWInit.h"
} }
#include <string> #include <string>

View file

@ -26,6 +26,8 @@
#include "nel/gui/widget_manager.h" #include "nel/gui/widget_manager.h"
#include "nel/misc/algo.h" #include "nel/misc/algo.h"
#include <iterator>
using namespace std; using namespace std;
using namespace NLMISC; using namespace NLMISC;

View file

@ -16,12 +16,14 @@
#define NOMINMAX #define NOMINMAX
#include "nel/gui/group_html.h"
// LibWWW // LibWWW
extern "C" extern "C"
{ {
#include "WWWLib.h" /* Global Library Include file */ #include "libwww/WWWLib.h" /* Global Library Include file */
#include "WWWApp.h" #include "libwww/WWWApp.h"
#include "WWWInit.h" #include "libwww/WWWInit.h"
} }
#include "nel/gui/group_html.h" #include "nel/gui/group_html.h"

View file

@ -21,16 +21,16 @@ extern "C"
{ {
/* Library Includes */ /* Library Includes */
#include "wwwsys.h" #include "libwww/wwwsys.h"
#include "WWWUtil.h" #include "libwww/WWWUtil.h"
#include "WWWCore.h" #include "libwww/WWWCore.h"
#include "WWWDir.h" #include "libwww/WWWDir.h"
#include "WWWTrans.h" #include "libwww/WWWTrans.h"
#include "HTReqMan.h" #include "libwww/HTReqMan.h"
#include "HTBind.h" #include "libwww/HTBind.h"
#include "HTMulti.h" #include "libwww/HTMulti.h"
#include "HTNetMan.h" #include "libwww/HTNetMan.h"
#include "HTChannl.h" #include "libwww/HTChannl.h"
#include "nel/gui/libwww_nel_stream.h" /* Implemented here */ #include "nel/gui/libwww_nel_stream.h" /* Implemented here */
} }