From ea36bf1cf73cd45335548396912b92b8e0b3993b Mon Sep 17 00:00:00 2001 From: Peter Thorson Date: Thu, 30 May 2013 13:32:33 -0500 Subject: [PATCH] removes unused files --- websocketpp/roles/client.hpp | 44 ------------------------------------ websocketpp/roles/server.hpp | 44 ------------------------------------ 2 files changed, 88 deletions(-) delete mode 100644 websocketpp/roles/client.hpp delete mode 100644 websocketpp/roles/server.hpp diff --git a/websocketpp/roles/client.hpp b/websocketpp/roles/client.hpp deleted file mode 100644 index b09911aaa4..0000000000 --- a/websocketpp/roles/client.hpp +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (c) 2012, Peter Thorson. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * * Neither the name of the WebSocket++ Project nor the - * names of its contributors may be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PETER THORSON BE LIABLE FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -#ifndef WEBSOCKETPP_CLIENT_ROLE_HPP -#define WEBSOCKETPP_CLIENT_ROLE_HPP - -#include - -namespace websocketpp { -namespace role { - -class client { -public: - static bool is_server = false; -} - -} // namespace role -} // namespace websocketpp - -#endif //WEBSOCKETPP_CLIENT_ROLE_HPP \ No newline at end of file diff --git a/websocketpp/roles/server.hpp b/websocketpp/roles/server.hpp deleted file mode 100644 index b0e875cd41..0000000000 --- a/websocketpp/roles/server.hpp +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (c) 2013, Peter Thorson. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * * Neither the name of the WebSocket++ Project nor the - * names of its contributors may be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PETER THORSON BE LIABLE FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -#ifndef WEBSOCKETPP_SERVER_ROLE_HPP -#define WEBSOCKETPP_SERVER_ROLE_HPP - -#include - -namespace websocketpp { -namespace role { - -class server { -public: - static bool is_server = true; -} - -} // namespace role -} // namespace websocketpp - -#endif //WEBSOCKETPP_SERVER_ROLE_HPP \ No newline at end of file