Update of /cvsroot/gcblue/gcb_wx/include/network
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14650
Modified Files:
tcMessage.h
Log Message:
+ added ifdef MSV for #pragma once instruction
+ newline at the end of function
+ removed comma at the end of enum
Index: tcMessage.h
===================================================================
RCS file: /cvsroot/gcblue/gcb_wx/include/network/tcMessage.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** tcMessage.h 6 Mar 2004 20:52:29 -0000 1.3
--- tcMessage.h 4 Apr 2004 20:52:23 -0000 1.4
***************
*** 23,28 ****
#define _TCMESSAGE_H_
#pragma once
!
#define BEGIN_NAMESPACE(x) namespace x {
--- 23,29 ----
#define _TCMESSAGE_H_
+ #if _MSC_VER > 1000
#pragma once
! #endif
#define BEGIN_NAMESPACE(x) namespace x {
***************
*** 39,43 ****
HEADER_SIZE = 8,
SIZE_SIZE = 2, ///< size of messageSize field (first field in header)
! MESSAGE_SIZE = BUFFER_SIZE - HEADER_SIZE,
};
unsigned int timestamp;
--- 40,44 ----
HEADER_SIZE = 8,
SIZE_SIZE = 2, ///< size of messageSize field (first field in header)
! MESSAGE_SIZE = BUFFER_SIZE - HEADER_SIZE
};
unsigned int timestamp;
***************
*** 71,73 ****
END_NAMESPACE
! #endif
\ No newline at end of file
--- 72,75 ----
END_NAMESPACE
! #endif
!
|