//#include "stdafx.h"
#include "CTWLanguageModel.h"
#include <math.h> // not in use anymore? needed it for log
#include <cstring>
using namespace Dasher;
#include "AlphIO.h"
#include <iostream>
using namespace std;
#include "../Common/Common.h"
#include "ColourIO.h"
//using namespace expat;
#include "ControlManager.h"
#include <string>
#include <vector>
#include <stdlib.h>
#include "../Common/Random.h"
#include "DasherModel.h"
#include "DasherView.h"
#include "FileLogger.h"
// Track memory leaks on Windows to the line that new'd the memory
#include "TimeSpan.h"
#ifdef _WIN32
#include <sys/timeb.h>
#include "UserLog.h"
#include <fstream>
#include "UserLogTrial.h"
#include "XMLUtil.h"
#include <sys/types.h>
#include <sys/stat.h>
#include "EventHandler.h"
#include <cstdlib>
#include "dasher.h"
#include "GtkDasherControl.h"
// FIXME - should really do something to make this a singleton class
// TODO: Rename this file to fit in with naming conventions
#include <glib/gi18n.h>
#include <libintl.h>
#include "DasherTypes.h"
#include <gnome-speech/gnome-speech.h>
#include <libbonobo.h>
//#include <libintl.h>
//#include <string.h>
#include "config.h"
#include <gtk/gtk.h>
/* TODO: r4epair gnome libs flags (or get rid of entirely) */
#include <gdk/gdk.h>
#include <gdk/gdkx.h>
#include <glade/glade.h>
#include "../../config.h"
#include "DasherControl.h"
#include "Timer.h"
#include "../DasherCore/Event.h"
#include <sstream>
CKeyboardHelper::CKeyboardHelper(DasherAppSettings *pAppSettings) {
m_pAppSettings = pAppSettings;