for EthernetInterface library compatibility.\\ ** Unoffical fix. may be a problem. **
Dependents: SNIC-httpclient-example SNIC-ntpclient-example
Fork of SNICInterface by
Revision 21:dda155fe5048, committed 2014-03-27
- Comitter:
- kishino
- Date:
- Thu Mar 27 07:14:21 2014 +0000
- Parent:
- 20:dd736d328de6
- Child:
- 22:a9ec0cad4f84
- Commit message:
- The change in the internal class friend class
Changed in this revision
--- a/SNIC/SNIC_Core.h Thu Mar 27 06:52:04 2014 +0000
+++ b/SNIC/SNIC_Core.h Thu Mar 27 07:14:21 2014 +0000
@@ -180,7 +180,12 @@
*/
class C_SNIC_Core
{
-public:
+friend class C_SNIC_UartCommandManager;
+friend class C_SNIC_WifiInterface;
+friend class TCPSocketConnection;
+friend class Socket;
+
+private:
/** Get buffer for command from memory pool.
@return Pointer of buffer
--- a/SNIC/SNIC_UartCommandManager.h Thu Mar 27 06:52:04 2014 +0000
+++ b/SNIC/SNIC_UartCommandManager.h Thu Mar 27 07:14:21 2014 +0000
@@ -54,7 +54,12 @@
*/
class C_SNIC_UartCommandManager
{
-public:
+friend class C_SNIC_Core;
+friend class C_SNIC_WifiInterface;
+friend class TCPSocketConnection;
+friend class Socket;
+
+private:
/** Set Command ID
@param cmd_id Command ID
*/
--- a/SNIC/SNIC_UartMsgUtil.h Thu Mar 27 06:52:04 2014 +0000
+++ b/SNIC/SNIC_UartMsgUtil.h Thu Mar 27 07:14:21 2014 +0000
@@ -135,7 +135,9 @@
*/
class C_SNIC_UartMsgUtil
{
-public:
+friend class C_SNIC_Core;
+
+private:
C_SNIC_UartMsgUtil();
/** Make SNIC UART command payload.
ban4jp -
