Initial commit: client source

This commit is contained in:
Andreas Lierschaft
2026-08-17 20:03:02 +02:00
commit 9ae37cd0ea
869 changed files with 227899 additions and 0 deletions
+54
View File
@@ -0,0 +1,54 @@
#pragma once
#include "../eterLib/StdAfx.h"
#include "../eterGrnLib/StdAfx.h"
//#include <crtdbg.h>
#ifdef _DEBUG
#undef _DEBUG
#include <Python-2.7/python.h>
#define _DEBUG
#else
#include <Python-2.7/python.h>
#endif
#include <Python-2.7/node.h>
#include <Python-2.7/grammar.h>
#include <Python-2.7/token.h>
#include <Python-2.7/parsetok.h>
#include <Python-2.7/errcode.h>
#include <Python-2.7/compile.h>
#include <Python-2.7/symtable.h>
#include <Python-2.7/eval.h>
#include <Python-2.7/marshal.h>
#include "PythonUtils.h"
#include "PythonLauncher.h"
#include "PythonMarshal.h"
#include "Resource.h"
void initdbg();
// PYTHON_EXCEPTION_SENDER
class IPythonExceptionSender
{
public:
void Clear()
{
m_strExceptionString = "";
}
void RegisterExceptionString(const char * c_szString)
{
m_strExceptionString += c_szString;
}
virtual void Send() = 0;
protected:
std::string m_strExceptionString;
};
extern IPythonExceptionSender * g_pkExceptionSender;
void SetExceptionSender(IPythonExceptionSender * pkExceptionSender);
// END_OF_PYTHON_EXCEPTION_SENDER