From: Kurt Pattyn Date: Thu, 22 Aug 2013 18:53:58 +0000 (+0200) Subject: Appended _p to the names of internal files X-Git-Tag: v5.3.0-alpha1~298 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bcc937d7716c37e273a31ced8bbe690a2b6654f2;p=contrib%2Fqtwebsockets.git Appended _p to the names of internal files --- diff --git a/source/dataprocessor.cpp b/source/dataprocessor_p.cpp similarity index 99% rename from source/dataprocessor.cpp rename to source/dataprocessor_p.cpp index b399d7f..a45cfad 100644 --- a/source/dataprocessor.cpp +++ b/source/dataprocessor_p.cpp @@ -1,4 +1,4 @@ -#include "dataprocessor.h" +#include "dataprocessor_p.h" #include "websocketprotocol.h" #include #include diff --git a/source/dataprocessor.h b/source/dataprocessor_p.h similarity index 94% rename from source/dataprocessor.h rename to source/dataprocessor_p.h index cb3a832..f184f35 100644 --- a/source/dataprocessor.h +++ b/source/dataprocessor_p.h @@ -1,5 +1,5 @@ -#ifndef DATAPROCESSOR_H -#define DATAPROCESSOR_H +#ifndef DATAPROCESSOR_P_H +#define DATAPROCESSOR_P_H #include #include @@ -57,4 +57,4 @@ private: QTextCodec *m_pTextCodec; }; -#endif // DATAPROCESSOR_H +#endif // DATAPROCESSOR_P_H diff --git a/source/handshakerequest.cpp b/source/handshakerequest_p.cpp similarity index 99% rename from source/handshakerequest.cpp rename to source/handshakerequest_p.cpp index e90e8e5..c297217 100644 --- a/source/handshakerequest.cpp +++ b/source/handshakerequest_p.cpp @@ -1,4 +1,4 @@ -#include "handshakerequest.h" +#include "handshakerequest_p.h" #include #include #include diff --git a/source/handshakerequest.h b/source/handshakerequest_p.h similarity index 92% rename from source/handshakerequest.h rename to source/handshakerequest_p.h index 894992e..708950a 100644 --- a/source/handshakerequest.h +++ b/source/handshakerequest_p.h @@ -1,5 +1,5 @@ -#ifndef HANDSHAKEREQUEST_H -#define HANDSHAKEREQUEST_H +#ifndef HANDSHAKEREQUEST_P_H +#define HANDSHAKEREQUEST_P_H #include #include @@ -51,4 +51,4 @@ private: QTextStream &operator >>(QTextStream &stream, HandshakeRequest &request); -#endif // HANDSHAKEREQUEST_H +#endif // HANDSHAKEREQUEST_P_H diff --git a/source/handshakeresponse.cpp b/source/handshakeresponse_p.cpp similarity index 98% rename from source/handshakeresponse.cpp rename to source/handshakeresponse_p.cpp index 5996836..93f21b9 100644 --- a/source/handshakeresponse.cpp +++ b/source/handshakeresponse_p.cpp @@ -1,5 +1,5 @@ -#include "handshakeresponse.h" -#include "handshakerequest.h" +#include "handshakeresponse_p.h" +#include "handshakerequest_p.h" #include #include #include diff --git a/source/handshakeresponse.h b/source/handshakeresponse_p.h similarity index 93% rename from source/handshakeresponse.h rename to source/handshakeresponse_p.h index f5a1161..c1adf43 100644 --- a/source/handshakeresponse.h +++ b/source/handshakeresponse_p.h @@ -1,5 +1,5 @@ -#ifndef HANDSHAKERESPONSE_H -#define HANDSHAKERESPONSE_H +#ifndef HANDSHAKERESPONSE_P_H +#define HANDSHAKERESPONSE_P_H #include #include "websocketprotocol.h" @@ -48,4 +48,4 @@ private: friend QTextStream &operator <<(QTextStream &stream, const HandshakeResponse &response); }; -#endif // HANDSHAKERESPONSE_H +#endif // HANDSHAKERESPONSE_P_H diff --git a/source/websocket.cpp b/source/websocket.cpp index 8e64f6c..bae98f5 100644 --- a/source/websocket.cpp +++ b/source/websocket.cpp @@ -1,6 +1,6 @@ #include "websocket.h" -#include "handshakerequest.h" -#include "handshakeresponse.h" +#include "handshakerequest_p.h" +#include "handshakeresponse_p.h" #include #include #include diff --git a/source/websocket.h b/source/websocket.h index 0175ce2..10e9676 100644 --- a/source/websocket.h +++ b/source/websocket.h @@ -15,7 +15,7 @@ #include #include #include "websocketprotocol.h" -#include "dataprocessor.h" +#include "dataprocessor_p.h" #include #include diff --git a/source/websocket.pri b/source/websocket.pri index 94f0ccd..f70a1d0 100644 --- a/source/websocket.pri +++ b/source/websocket.pri @@ -3,16 +3,16 @@ QT *= network SOURCES += $$PWD/websocket.cpp \ $$PWD/websocketserver.cpp \ $$PWD/websocketprotocol.cpp \ - $$PWD/handshakerequest.cpp \ - $$PWD/handshakeresponse.cpp \ - $$PWD/dataprocessor.cpp + $$PWD/handshakerequest_p.cpp \ + $$PWD/handshakeresponse_p.cpp \ + $$PWD/dataprocessor_p.cpp HEADERS += $$PWD/websocket.h \ $$PWD/websocketserver.h \ $$PWD/websocketprotocol.h \ - $$PWD/handshakerequest.h \ - $$PWD/handshakeresponse.h \ - $$PWD/dataprocessor.h + $$PWD/handshakerequest_p.h \ + $$PWD/handshakeresponse_p.h \ + $$PWD/dataprocessor_p.h INCLUDEPATH += $$PWD DEPENDPATH += $$PWD diff --git a/source/websocketserver.cpp b/source/websocketserver.cpp index e5fc7b7..0b42206 100644 --- a/source/websocketserver.cpp +++ b/source/websocketserver.cpp @@ -3,8 +3,8 @@ #include #include #include "websocketprotocol.h" -#include "handshakerequest.h" -#include "handshakeresponse.h" +#include "handshakerequest_p.h" +#include "handshakeresponse_p.h" #include "websocket.h" /*!