* Move the main header up one level.
* Move some inclusions to the main header.
* Remove inclusions and definitions that already exist in the main header.
* Cleanup the main header.
CORE-7716
svn path=/trunk/; revision=61561
--- /dev/null
+#include <stdarg.h>
+
+#define WIN32_NO_STATUS
+
+#include <windef.h>
+#include <winbase.h>
+#include <winuser.h>
+#include <wincon.h>
+#define _INC_WINDOWS
+#include <winsock.h>
+
+#if defined(__BORLANDC__) && (__BORLANDC < 0x0500)
+#include <mem.h>
+#endif
+
+#ifdef __BORLANDC__
+#include <fstream.h>
+#else
+#include <fstream>
+#endif
+
+#include "src/tnconfig.h"
+#include "src/tnmsg.h"
+#include "src/tparser.h"
+#include "src/ansiprsr.h"
+#include "src/tmapldr.h"
+#include "src/tnclass.h"
+#include "src/tnmisc.h"
+#include "src/tncon.h"
//
///////////////////////////////////////////////////////////////////////////////
-//#include <windows.h>
#include "precomp.h"
const int ANSIColors[] = {BLACK, RED, GREEN, YELLOW, BLUE, MAGENTA, CYAN, WHITE};
#pragma once
-//#include <stdio.h>
-//#include <stdlib.h>
-//#include <ctype.h>
-//#include <string.h>
-#include "tnconfig.h"
-#include "tparser.h"
-
// added this color table to make things go faster (Paul Branann 5/8/98)
enum Colors {BLACK=0, BLUE, GREEN, CYAN, RED, MAGENTA, YELLOW, WHITE};
extern const int ANSIColors[];
+++ /dev/null
-#include "ansiprsr.h"
-
-#if defined(__BORLANDC__) && (__BORLANDC < 0x0500)
-#include <mem.h>
-//#else
-//#include <memory.h>
-#endif
-
-#ifdef __BORLANDC__
-#include <fstream.h>
-#else
-//#include <string>
-#include <fstream>
-#endif
-
-//#include <windows.h>
-//#include <stdlib.h>
-//#include <stdio.h>
-//#include <stdarg.h>
-//#include <string.h>
-#include <locale.h>
-#include <io.h>
-#include <time.h>
-//#include <ctype.h>
-//#include <sys/types.h>
-#include <sys/stat.h>
-
-//#include "keytrans.h"
-//#include "tnerror.h"
-//#include "tcharmap.h"
-//#include "tnconfig.h"
-//#include "tconsole.h"
-//#include "tkeydef.h"
-//#include "tkeymap.h"
-#include "tmapldr.h"
-//#include "tmouse.h"
-#include "tnclass.h"
-#include "tnmisc.h"
-//#include "tnclip.h"
-#include "tncon.h"
-//#include "ttelhndl.h"
-//#include "tnetwork.h"
-#include "tnmain.h"
-#include "tscript.h"
-//#include "tscroll.h"
-#include "telnet.h"
-//#include "tparams.h"
#include "precomp.h"
+#include <locale.h>
+#include <io.h>
+#include <sys/stat.h>
+
// Turn off the "forcing value to bool 'true' or 'false'" warning
#ifdef _MSC_VER
#pragma warning(disable: 4800)
#include "precomp.h"
+#include <time.h>
+
#ifndef LANG_USER_DEFAULT
#define LANG_USER_DEFAULT 400
#endif
#pragma once
-#ifndef __WINDOWS_H
-#define WIN32_NO_STATUS
-#include <stdarg.h>
-#include <windef.h>
-#include <winbase.h>
-#include <winuser.h>
-#include <wincon.h>
-#define _INC_WINDOWS
-#include <winsock.h>
-#endif
-
-#include "tnmsg.h"
-
extern int Telnet_Redir;
int printm(LPTSTR szModule, BOOL fSystem, DWORD dwMessageId, ...);
#include "precomp.h"
+#include "tnmain.h"
+
int telCommandLine (Telnet &MyConnection);
void waitforkey() {
#include "precomp.h"
+#include "tscript.h"
+
// FIX ME!! This code not yet functional.
#define TERMINATOR '~'
#include "precomp.h"
+#include "telnet.h"
+
int naws_string(char *buf, int width, int height);
// This helps make the code more readable (Paul Brannan 1/1/99)