summaryrefslogtreecommitdiff
path: root/rhtvision/include/tv/strmblcl.h
diff options
context:
space:
mode:
Diffstat (limited to 'rhtvision/include/tv/strmblcl.h')
-rw-r--r--rhtvision/include/tv/strmblcl.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/rhtvision/include/tv/strmblcl.h b/rhtvision/include/tv/strmblcl.h
new file mode 100644
index 0000000..844e6b5
--- /dev/null
+++ b/rhtvision/include/tv/strmblcl.h
@@ -0,0 +1,54 @@
+/*
+ * Turbo Vision - Version 2.0
+ *
+ * Copyright (c) 1994 by Borland International
+ * All Rights Reserved.
+ *
+
+Modified by Robert H”hne to be used for RHIDE.
+Modified by Salvador E. Tropea to compile for 64 bits architectures.
+
+ *
+ *
+ */
+
+/* ------------------------------------------------------------------------*/
+/* */
+/* class TStreamableClass */
+/* */
+/* Used internally by TStreamableTypes and pstream. */
+/* */
+/* ------------------------------------------------------------------------*/
+
+#if defined( Uses_TStreamableClass ) && !defined( __TStreamableClass )
+#define __TStreamableClass
+
+#include <limits.h>
+
+const P_id_type P_id_notFound = UINT_MAX;
+
+typedef TStreamable *(*BUILDER)();
+
+#define __DELTA( d ) ((uipointer)((TStreamable *)(d *)1)-1)
+
+class CLY_EXPORT TStreamableClass
+{
+
+ friend class TStreamableTypes;
+ friend class opstream;
+ friend class ipstream;
+
+public:
+
+ TStreamableClass( const char *n, BUILDER b, int d );
+
+private:
+
+ const char *name;
+ BUILDER build;
+ int delta;
+
+};
+
+#endif // Uses_TStreamableClass
+