- big fight to get libircclient compiled in VC++ but we won the battle (requires new win32 deps.. NOT ming deps)

This commit is contained in:
Mark Vejvoda
2010-12-23 02:17:29 +00:00
parent 313081f143
commit 7e6a7a85f7
4 changed files with 27 additions and 22 deletions

View File

@@ -16,12 +16,6 @@
#include <vector>
#include <string>
#ifndef WIN32
#include <libircclient/libircclient.h>
#else
#include "libircclient.h"
#endif
#include "leak_dumper.h"
using namespace std;
@@ -41,7 +35,6 @@ class IRCThread : public BaseThread
{
protected:
std::vector<string> argv;
irc_session_t *ircSession;
public:
IRCThread(const std::vector<string> &argv,IRCCallbackInterface *callbackObj);

View File

@@ -14,21 +14,29 @@
#include "util.h"
#include "platform_common.h"
using namespace Shared::Util;
using namespace Shared::PlatformCommon;
namespace Shared { namespace PlatformCommon {
#ifndef WIN32
#include <libircclient/libircclient.h>
#else
#include "libircclient.h"
#endif
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <stdlib.h>
irc_session_t *ircSession;
using namespace Shared::Util;
using namespace Shared::PlatformCommon;
namespace Shared { namespace PlatformCommon {
IRCCallbackInterface *IRCThread::callbackObj=NULL;
std::vector<string> IRCThread::eventData;
bool IRCThread::eventDataDone = false;
bool IRCThread::isConnected = false;
//
// We store data in IRC session context.
//