some preparations for Mac port and VST interface

This commit is contained in:
Volker Fischer 2010-02-18 20:35:48 +00:00
parent 1c76d2e8fe
commit 09f9b3bb3c
7 changed files with 49 additions and 25 deletions

View file

@ -33,7 +33,11 @@
#ifdef _WIN32
# include "../windows/moc/chatdlgbase.h"
#else
# if defined ( __APPLE__ ) || defined ( __MACOSX )
# include "ui_chatdlgbase.h"
# else
# include "moc/chatdlgbase.h"
# endif
#endif

View file

@ -37,13 +37,17 @@
#include "channel.h"
#include "util.h"
#include "buffer.h"
#ifdef _WIN32
# include "../windows/sound.h"
#ifdef LLCON_VST_PLUGIN
# include "vstsound.h"
#else
# ifdef _WIN32
# include "../windows/sound.h"
# else
# include "../linux/sound.h"
# include <sched.h>
# include <socket.h>
# include <netdb.h>
# endif
#endif

View file

@ -40,7 +40,11 @@
#ifdef _WIN32
# include "../windows/moc/clientsettingsdlgbase.h"
#else
# if defined ( __APPLE__ ) || defined ( __MACOSX )
# include "ui_clientsettingsdlgbase.h"
# else
# include "moc/clientsettingsdlgbase.h"
# endif
#endif

View file

@ -153,10 +153,10 @@ typedef unsigned __int32 uint32_t;
typedef unsigned __int16 uint16_t;
typedef unsigned __int8 uint8_t;
#else
typedef long int int64_t;
typedef long long int64_t;
typedef int int32_t;
typedef short int16_t;
typedef unsigned long int uint64_t;
typedef unsigned long long uint64_t;
typedef unsigned int uint32_t;
typedef unsigned short uint16_t;
typedef unsigned char uint8_t;

View file

@ -42,7 +42,11 @@
#ifdef _WIN32
# include "../windows/moc/llconclientdlgbase.h"
#else
# if defined ( __APPLE__ ) || defined ( __MACOSX )
# include "ui_llconclientdlgbase.h"
# else
# include "moc/llconclientdlgbase.h"
# endif
#endif

View file

@ -36,7 +36,11 @@
#ifdef _WIN32
# include "../windows/moc/llconserverdlgbase.h"
#else
# if defined ( __APPLE__ ) || defined ( __MACOSX )
# include "ui_llconserverdlgbase.h"
# else
# include "moc/llconserverdlgbase.h"
# endif
#endif

View file

@ -40,7 +40,11 @@ using namespace std; // because of the library: "vector"
# include <windows.h>
# include <mmsystem.h>
#else
# if defined ( __APPLE__ ) || defined ( __MACOSX )
# include "ui_aboutdlgbase.h"
# else
# include "moc/aboutdlgbase.h"
# endif
#endif