From 839c91c0444397a400c4b6f0133f8f81502db184 Mon Sep 17 00:00:00 2001 From: Kurt Pattyn Date: Sun, 25 Aug 2013 19:14:09 +0200 Subject: [PATCH] Added copyright disclaimer to all files --- src/dataprocessor_p.cpp | 19 +++++++++++++++++++ src/dataprocessor_p.h | 18 ++++++++++++++++++ src/handshakerequest_p.cpp | 19 +++++++++++++++++++ src/handshakerequest_p.h | 18 ++++++++++++++++++ src/handshakeresponse_p.cpp | 19 +++++++++++++++++++ src/handshakeresponse_p.h | 18 ++++++++++++++++++ src/qwebsocket.cpp | 19 +++++++++++++++++++ src/qwebsocket.h | 28 ++++++++++++++++++---------- src/qwebsocket_p.cpp | 19 +++++++++++++++++++ src/qwebsocket_p.h | 28 ++++++++++++++++++---------- src/qwebsocketprotocol.cpp | 19 +++++++++++++++++++ src/qwebsocketprotocol.h | 23 ++++++++++++++++++----- src/qwebsocketserver.cpp | 19 +++++++++++++++++++ src/qwebsocketserver.h | 24 ++++++++++++++++++------ src/qwebsocketserver_p.cpp | 19 +++++++++++++++++++ src/qwebsocketserver_p.h | 23 ++++++++++++++++++----- src/qwebsocketsglobal.h | 19 +++++++++++++++++++ 17 files changed, 315 insertions(+), 36 deletions(-) diff --git a/src/dataprocessor_p.cpp b/src/dataprocessor_p.cpp index d0b22f2..7048899 100644 --- a/src/dataprocessor_p.cpp +++ b/src/dataprocessor_p.cpp @@ -1,3 +1,22 @@ +/*! +QWebSockets implements the WebSocket protocol as defined in RFC 6455. +Copyright (C) 2013 Kurt Pattyn (pattyn.kurt@gmail.com) + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ + #include "dataprocessor_p.h" #include "qwebsocketprotocol.h" #include diff --git a/src/dataprocessor_p.h b/src/dataprocessor_p.h index 77b6209..d47bed7 100644 --- a/src/dataprocessor_p.h +++ b/src/dataprocessor_p.h @@ -1,3 +1,21 @@ +/*! +QWebSockets implements the WebSocket protocol as defined in RFC 6455. +Copyright (C) 2013 Kurt Pattyn (pattyn.kurt@gmail.com) + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ #ifndef DATAPROCESSOR_P_H #define DATAPROCESSOR_P_H diff --git a/src/handshakerequest_p.cpp b/src/handshakerequest_p.cpp index 7f02fde..437e7f1 100644 --- a/src/handshakerequest_p.cpp +++ b/src/handshakerequest_p.cpp @@ -1,3 +1,22 @@ +/*! +QWebSockets implements the WebSocket protocol as defined in RFC 6455. +Copyright (C) 2013 Kurt Pattyn (pattyn.kurt@gmail.com) + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ + #include "handshakerequest_p.h" #include #include diff --git a/src/handshakerequest_p.h b/src/handshakerequest_p.h index 59613f5..984b7c0 100644 --- a/src/handshakerequest_p.h +++ b/src/handshakerequest_p.h @@ -1,3 +1,21 @@ +/*! +QWebSockets implements the WebSocket protocol as defined in RFC 6455. +Copyright (C) 2013 Kurt Pattyn (pattyn.kurt@gmail.com) + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ #ifndef HANDSHAKEREQUEST_P_H #define HANDSHAKEREQUEST_P_H // diff --git a/src/handshakeresponse_p.cpp b/src/handshakeresponse_p.cpp index 82537fe..85acd98 100644 --- a/src/handshakeresponse_p.cpp +++ b/src/handshakeresponse_p.cpp @@ -1,3 +1,22 @@ +/*! +QWebSockets implements the WebSocket protocol as defined in RFC 6455. +Copyright (C) 2013 Kurt Pattyn (pattyn.kurt@gmail.com) + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ + #include "handshakeresponse_p.h" #include "handshakerequest_p.h" #include diff --git a/src/handshakeresponse_p.h b/src/handshakeresponse_p.h index 7e1d3c5..e3a0584 100644 --- a/src/handshakeresponse_p.h +++ b/src/handshakeresponse_p.h @@ -1,3 +1,21 @@ +/*! +QWebSockets implements the WebSocket protocol as defined in RFC 6455. +Copyright (C) 2013 Kurt Pattyn (pattyn.kurt@gmail.com) + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ #ifndef HANDSHAKERESPONSE_P_H #define HANDSHAKERESPONSE_P_H // diff --git a/src/qwebsocket.cpp b/src/qwebsocket.cpp index 7ec4204..f4b4c79 100644 --- a/src/qwebsocket.cpp +++ b/src/qwebsocket.cpp @@ -1,4 +1,23 @@ /*! +QWebSockets implements the WebSocket protocol as defined in RFC 6455. +Copyright (C) 2013 Kurt Pattyn (pattyn.kurt@gmail.com) + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ + +/*! \class QWebSocket \inmodule QWebSockets diff --git a/src/qwebsocket.h b/src/qwebsocket.h index 227bc25..5dcfff2 100644 --- a/src/qwebsocket.h +++ b/src/qwebsocket.h @@ -1,13 +1,21 @@ -/** - * @file websocket.h - * @brief Defines the WebSocket class. - * - * \note Currently, only V13 (RFC6455) is supported. - * \note Both text and binary websockets are supported. - * \note The secure version (wss) is currently not implemented. - * @author Kurt Pattyn (pattyn.kurt@gmail.com) - */ - +/*! +QWebSockets implements the WebSocket protocol as defined in RFC 6455. +Copyright (C) 2013 Kurt Pattyn (pattyn.kurt@gmail.com) + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ #ifndef QWEBSOCKET_H #define QWEBSOCKET_H diff --git a/src/qwebsocket_p.cpp b/src/qwebsocket_p.cpp index cad84fd..9e38dd8 100644 --- a/src/qwebsocket_p.cpp +++ b/src/qwebsocket_p.cpp @@ -1,3 +1,22 @@ +/*! +QWebSockets implements the WebSocket protocol as defined in RFC 6455. +Copyright (C) 2013 Kurt Pattyn (pattyn.kurt@gmail.com) + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ + #include "qwebsocket.h" #include "qwebsocket_p.h" #include "handshakerequest_p.h" diff --git a/src/qwebsocket_p.h b/src/qwebsocket_p.h index d49788d..a06aa50 100644 --- a/src/qwebsocket_p.h +++ b/src/qwebsocket_p.h @@ -1,13 +1,21 @@ -/** - * @file websocket.h - * @brief Defines the WebSocket class. - * - * \note Currently, only V13 (RFC6455) is supported. - * \note Both text and binary websockets are supported. - * \note The secure version (wss) is currently not implemented. - * @author Kurt Pattyn (pattyn.kurt@gmail.com) - */ - +/*! +QWebSockets implements the WebSocket protocol as defined in RFC 6455. +Copyright (C) 2013 Kurt Pattyn (pattyn.kurt@gmail.com) + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ #ifndef QWEBSOCKET_P_H #define QWEBSOCKET_P_H // diff --git a/src/qwebsocketprotocol.cpp b/src/qwebsocketprotocol.cpp index c7b6e85..b168efb 100644 --- a/src/qwebsocketprotocol.cpp +++ b/src/qwebsocketprotocol.cpp @@ -1,3 +1,22 @@ +/*! +QWebSockets implements the WebSocket protocol as defined in RFC 6455. +Copyright (C) 2013 Kurt Pattyn (pattyn.kurt@gmail.com) + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ + #include "qwebsocketprotocol.h" #include #include diff --git a/src/qwebsocketprotocol.h b/src/qwebsocketprotocol.h index 37755af..9fa49bf 100644 --- a/src/qwebsocketprotocol.h +++ b/src/qwebsocketprotocol.h @@ -1,8 +1,21 @@ -/** - * @file websocketprotocol.h - * @brief Contains constants related to the WebSocket standard. - * @author Kurt Pattyn (pattyn.kurt@gmail.com) - */ +/*! +QWebSockets implements the WebSocket protocol as defined in RFC 6455. +Copyright (C) 2013 Kurt Pattyn (pattyn.kurt@gmail.com) + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ #ifndef QWEBSOCKETPROTOCOL_H #define QWEBSOCKETPROTOCOL_H diff --git a/src/qwebsocketserver.cpp b/src/qwebsocketserver.cpp index fffb389..32cabdf 100644 --- a/src/qwebsocketserver.cpp +++ b/src/qwebsocketserver.cpp @@ -1,4 +1,23 @@ /*! +QWebSockets implements the WebSocket protocol as defined in RFC 6455. +Copyright (C) 2013 Kurt Pattyn (pattyn.kurt@gmail.com) + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ + +/*! \class QWebSocketServer \inmodule QWebSockets diff --git a/src/qwebsocketserver.h b/src/qwebsocketserver.h index 17e0f80..6a71576 100644 --- a/src/qwebsocketserver.h +++ b/src/qwebsocketserver.h @@ -1,9 +1,21 @@ -/** - * @file websocketserver.h - * @author Kurt Pattyn (pattyn.kurt@gmail.com) - * @brief Defines the WebSocketServer class. - */ - +/*! +QWebSockets implements the WebSocket protocol as defined in RFC 6455. +Copyright (C) 2013 Kurt Pattyn (pattyn.kurt@gmail.com) + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ #ifndef QWEBSOCKETSERVER_H #define QWEBSOCKETSERVER_H diff --git a/src/qwebsocketserver_p.cpp b/src/qwebsocketserver_p.cpp index d96cc6c..2b26dba 100644 --- a/src/qwebsocketserver_p.cpp +++ b/src/qwebsocketserver_p.cpp @@ -1,3 +1,22 @@ +/*! +QWebSockets implements the WebSocket protocol as defined in RFC 6455. +Copyright (C) 2013 Kurt Pattyn (pattyn.kurt@gmail.com) + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ + #include #include #include diff --git a/src/qwebsocketserver_p.h b/src/qwebsocketserver_p.h index 45b0b87..e65120d 100644 --- a/src/qwebsocketserver_p.h +++ b/src/qwebsocketserver_p.h @@ -1,8 +1,21 @@ -/** - * @file websocketserver_p.h - * @author Kurt Pattyn (pattyn.kurt@gmail.com) - * @brief Defines the private WebSocketServerPrivate class. - */ +/*! +QWebSockets implements the WebSocket protocol as defined in RFC 6455. +Copyright (C) 2013 Kurt Pattyn (pattyn.kurt@gmail.com) + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ #ifndef QWEBSOCKETSERVER_P_H #define QWEBSOCKETSERVER_P_H diff --git a/src/qwebsocketsglobal.h b/src/qwebsocketsglobal.h index 822f41b..22b7440 100644 --- a/src/qwebsocketsglobal.h +++ b/src/qwebsocketsglobal.h @@ -1,3 +1,22 @@ +/*! +QWebSockets implements the WebSocket protocol as defined in RFC 6455. +Copyright (C) 2013 Kurt Pattyn (pattyn.kurt@gmail.com) + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ + #ifndef QWEBSOCKETSGLOBAL_H #define QWEBSOCKETSGLOBAL_H -- 2.7.4