From 6611ea871e1099e77db0015f1773563a7833d088 Mon Sep 17 00:00:00 2001 From: crs Date: Thu, 23 May 2002 14:04:35 +0000 Subject: [PATCH] changed structs to classes. there should be no more structs now. --- net/CNetwork.h | 3 ++- synergy/CXWindowsScreen.h | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/net/CNetwork.h b/net/CNetwork.h index 8d6e9842..696973da 100644 --- a/net/CNetwork.h +++ b/net/CNetwork.h @@ -38,7 +38,8 @@ public: typedef struct sockaddr Address; typedef int AddressLength; typedef BOOL TCPNoDelayType; - struct PollEntry { + class PollEntry { + public: Socket fd; short events; short revents; diff --git a/synergy/CXWindowsScreen.h b/synergy/CXWindowsScreen.h index 0f81414a..b02fd264 100644 --- a/synergy/CXWindowsScreen.h +++ b/synergy/CXWindowsScreen.h @@ -105,12 +105,12 @@ protected: virtual long getEventMask(Window) const = 0; private: - struct CPropertyNotifyInfo { + class CPropertyNotifyInfo { public: Window m_window; Atom m_property; }; - struct CClipboardRequest { + class CClipboardRequest { public: CString m_data; UInt32 m_sent;