diff --git a/headers/private/interface/R5_AppServerLink.h b/headers/private/interface/R5_AppServerLink.h deleted file mode 100644 index 9eafe4f4d6..0000000000 --- a/headers/private/interface/R5_AppServerLink.h +++ /dev/null @@ -1,21 +0,0 @@ -// TODO: This file is here just to be able to use BDirectWindow -// with BeOS R5. Remove it when we don't need it anymore - -#ifndef _APP_SERVER_LINK_H -#define _APP_SERVER_LINK_H - -#include -#include -#include -#include - -class _BAppServerLink_ { - -public: - _BAppServerLink_(); -virtual ~_BAppServerLink_(); - - _BSession_ *fSession; -}; - -#endif diff --git a/headers/private/interface/R5_Session.h b/headers/private/interface/R5_Session.h deleted file mode 100644 index a360c52770..0000000000 --- a/headers/private/interface/R5_Session.h +++ /dev/null @@ -1,69 +0,0 @@ -// TODO: This file is here just to be able to use BDirectWindow -// with BeOS R5. Remove it when we don't need it anymore - -#ifndef _SESSION_H -#define _SESSION_H - -#include -#include -#include -#include -#include - -class _BSession_ { - -public: - _BSession_(port_id receivePort, port_id sendPort); - _BSession_(int32, char *); -virtual ~_BSession_(); - - char *sread(); - void sread_coo(float *coo); - void sread_coo_a(float *coo); - void sread_point(BPoint *point); - void sread_point_a(BPoint *point); - void sread_rect(clipping_rect *rect); - void sread_rect(BRect *rect); - void sread_rect_a(BRect *rect); - void sread(int32 size, void *data); - void sread2(int32 size, void *data); - void sreadd(int32 size, void *data); - - void swrite_s(int16 s); - void swrite_l(int32 l); - void swrite(char *string); - void swrite_point(const BPoint *point); - void swrite_point_a(const BPoint *point); - void swrite_coo(float *coo); - void swrite_coo_a(float *coo); - void swrite_rect(const clipping_rect *rect); - void swrite_rect(const BRect *rect); - void swrite_rect_a(const BRect *rect); - void swrite(int32 size, void *data); - -// void get_other(message *); -// void add_to_buffer(message *); - - void recv_buffer(); - void send_buffer(); - - void sync(); - void sync_debug(); - void sclose(); - void xclose(); - -private: - port_id fSendPort; - port_id fReceivePort; - - char *fSendBuffer; - int32 fSendBufferSize; - int32 fSendSize; - char *fReceiveBuffer; - int32 fReceiveSize; - int32 fReceivePos; -}; - -extern _IMPEXP_BE _BSession_ *main_session; - -#endif