pip micro disable piintrospection piwaitevent
PIP_NO_SOCET
This commit is contained in:
@@ -26,14 +26,17 @@
|
||||
#ifndef PIETHERNET_H
|
||||
#define PIETHERNET_H
|
||||
|
||||
|
||||
#include "piiodevice.h"
|
||||
#include "pinetworkaddress.h"
|
||||
|
||||
#ifdef ANDROID
|
||||
#ifndef PIP_NO_SOCKET
|
||||
|
||||
# ifdef ANDROID
|
||||
struct
|
||||
#else
|
||||
# else
|
||||
class
|
||||
#endif
|
||||
# endif
|
||||
sockaddr;
|
||||
|
||||
class PIP_EXPORT PIEthernet: public PIIODevice {
|
||||
@@ -439,7 +442,7 @@ public:
|
||||
//! \}
|
||||
//! \ioparams
|
||||
//! \{
|
||||
#ifdef DOXYGEN
|
||||
# ifdef DOXYGEN
|
||||
//! \brief read ip, default ""
|
||||
string ip;
|
||||
|
||||
@@ -460,7 +463,7 @@ public:
|
||||
|
||||
//! \brief time-to-live for multicast, default 1
|
||||
int multicastTTL;
|
||||
#endif
|
||||
# endif
|
||||
//! \}
|
||||
|
||||
protected:
|
||||
@@ -509,9 +512,9 @@ private:
|
||||
static void server_func(void * eth);
|
||||
void setType(Type t, bool reopen = true);
|
||||
bool connectTCP();
|
||||
#ifdef WINDOWS
|
||||
# ifdef WINDOWS
|
||||
long waitForEvent(PIWaitEvent & event, long mask);
|
||||
#endif
|
||||
# endif
|
||||
|
||||
static int ethErrorCore();
|
||||
static PIString ethErrorString();
|
||||
@@ -536,4 +539,5 @@ inline bool operator!=(const PIEthernet::Interface & v0, const PIEthernet::Inter
|
||||
return (v0.name != v1.name || v0.address != v1.address || v0.netmask != v1.netmask);
|
||||
}
|
||||
|
||||
#endif // PIP_NO_SOCKET
|
||||
#endif // PIETHERNET_H
|
||||
|
||||
Reference in New Issue
Block a user