start develop picloud
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/*! \file piccloudclient.h
|
||||
/*! \file picloudclient.h
|
||||
* \brief PICloud Client
|
||||
*/
|
||||
/*
|
||||
@@ -20,8 +20,8 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef PICCLOUDCLIENT_H
|
||||
#define PICCLOUDCLIENT_H
|
||||
#ifndef PICLOUDCLIENT_H
|
||||
#define PICLOUDCLIENT_H
|
||||
|
||||
#include "pip_cloud_export.h"
|
||||
#include "piiodevice.h"
|
||||
@@ -45,4 +45,4 @@ private:
|
||||
PIEthernet * eth;
|
||||
};
|
||||
|
||||
#endif // PICCLOUDCLIENT_H
|
||||
#endif // PICLOUDCLIENT_H
|
||||
@@ -20,8 +20,8 @@
|
||||
#ifndef PICLOUDMODULE_H
|
||||
#define PICLOUDMODULE_H
|
||||
|
||||
#include "piccloudtcp.h"
|
||||
#include "piccloudclient.h"
|
||||
#include "piccloudserver.h"
|
||||
#include "picloudtcp.h"
|
||||
#include "picloudclient.h"
|
||||
#include "picloudserver.h"
|
||||
|
||||
#endif // PICLOUDMODULE_H
|
||||
@@ -1,4 +1,4 @@
|
||||
/*! \file piccloudserver.h
|
||||
/*! \file picloudserver.h
|
||||
* \brief PICloud Server
|
||||
*/
|
||||
/*
|
||||
@@ -20,21 +20,29 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef PICCLOUDSERVER_H
|
||||
#define PICCLOUDSERVER_H
|
||||
#ifndef PICLOUDSERVER_H
|
||||
#define PICLOUDSERVER_H
|
||||
|
||||
#include "pip_cloud_export.h"
|
||||
#include "piiodevice.h"
|
||||
|
||||
class PIEthernet;
|
||||
|
||||
class PIP_CLOUD_EXPORT PICloudServer {
|
||||
|
||||
class PIP_CLOUD_EXPORT PICloudServer : public PIIODevice
|
||||
{
|
||||
PIIODEVICE(PICloudServer)
|
||||
public:
|
||||
//!
|
||||
explicit PICloudServer();
|
||||
explicit PICloudServer(const PIString & path = PIString(), PIIODevice::DeviceMode mode = PIIODevice::ReadWrite);
|
||||
virtual ~PICloudServer();
|
||||
|
||||
protected:
|
||||
bool openDevice();
|
||||
bool closeDevice();
|
||||
|
||||
private:
|
||||
|
||||
PIEthernet * eth;
|
||||
};
|
||||
|
||||
#endif // PICCLOUDSERVER_H
|
||||
#endif // PICLOUDSERVER_H
|
||||
@@ -1,4 +1,4 @@
|
||||
/*! \file piccloudtcp.h
|
||||
/*! \file picloudtcp.h
|
||||
* \brief PICloud TCP transport
|
||||
*/
|
||||
/*
|
||||
@@ -20,12 +20,13 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef PICCLOUDTCP_H
|
||||
#define PICCLOUDTCP_H
|
||||
#ifndef PICLOUDTCP_H
|
||||
#define PICLOUDTCP_H
|
||||
|
||||
#include "pip_cloud_export.h"
|
||||
#include "pistring.h"
|
||||
|
||||
|
||||
class PIP_CLOUD_EXPORT PICloudTCP {
|
||||
public:
|
||||
//!
|
||||
@@ -36,4 +37,4 @@ private:
|
||||
|
||||
};
|
||||
|
||||
#endif // PICCLOUDTCP_H
|
||||
#endif // PICLOUDTCP_H
|
||||
Reference in New Issue
Block a user