Skip to content

Commit

Permalink
Add licensing terms and copyright notice to all source files of library
Browse files Browse the repository at this point in the history
  • Loading branch information
rmisev committed May 7, 2019
1 parent f5870b2 commit d9a3baf
Show file tree
Hide file tree
Showing 13 changed files with 67 additions and 3 deletions.
7 changes: 6 additions & 1 deletion src/config.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
// Copyright 2016-2019 Rimas Misevičius
// Distributed under the BSD-style license that can be
// found in the LICENSE file.
//

#ifndef WHATWG_CONFIG_H
#define WHATWG_CONFIG_H

// https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/
#if defined(_MSVC_LANG) && (_MSVC_LANG >= 201703)
#define WHATWG__CPP_17
#elif (__cplusplus >= 201703)
#elif (__cplusplus >= 201703)
#define WHATWG__CPP_17
#endif

Expand Down
5 changes: 5 additions & 0 deletions src/int_cast.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright 2016-2019 Rimas Misevičius
// Distributed under the BSD-style license that can be
// found in the LICENSE file.
//

#ifndef INT_CAST_H
#define INT_CAST_H

Expand Down
5 changes: 5 additions & 0 deletions src/str_arg.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright 2016-2019 Rimas Misevičius
// Distributed under the BSD-style license that can be
// found in the LICENSE file.
//

/**************************************************************
// Usage example:
Expand Down
5 changes: 5 additions & 0 deletions src/str_view.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright 2016-2019 Rimas Misevičius
// Distributed under the BSD-style license that can be
// found in the LICENSE file.
//

#ifndef STR_VIEW_H
#define STR_VIEW_H

Expand Down
5 changes: 5 additions & 0 deletions src/url_host.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright 2016-2019 Rimas Misevičius
// Distributed under the BSD-style license that can be
// found in the LICENSE file.
//

#ifndef WHATWG_URL_HOST_H
#define WHATWG_URL_HOST_H

Expand Down
5 changes: 5 additions & 0 deletions src/url_idna.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright 2016-2019 Rimas Misevičius
// Distributed under the BSD-style license that can be
// found in the LICENSE file.
//

#ifndef WHATWG_URL_IDNA_H
#define WHATWG_URL_IDNA_H

Expand Down
7 changes: 6 additions & 1 deletion src/url_ip.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#include "url_ip.h"
// Copyright 2016-2019 Rimas Misevičius
// Distributed under the BSD-style license that can be
// found in the LICENSE file.
//

#include "url_ip.h"

namespace whatwg {

Expand Down
7 changes: 6 additions & 1 deletion src/url_ip.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#ifndef WHATWG_URL_IP_H
// Copyright 2016-2019 Rimas Misevičius
// Distributed under the BSD-style license that can be
// found in the LICENSE file.
//

#ifndef WHATWG_URL_IP_H
#define WHATWG_URL_IP_H

#include "url_percent_encode.h"
Expand Down
5 changes: 5 additions & 0 deletions src/url_result.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright 2016-2019 Rimas Misevičius
// Distributed under the BSD-style license that can be
// found in the LICENSE file.
//

#ifndef URL_RESULT_H
#define URL_RESULT_H

Expand Down
4 changes: 4 additions & 0 deletions src/url_search_params.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2016-2019 Rimas Misevičius
// Distributed under the BSD-style license that can be
// found in the LICENSE file.
//

#include "url_search_params.h"

Expand Down
5 changes: 5 additions & 0 deletions src/url_search_params.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright 2016-2019 Rimas Misevièius
// Distributed under the BSD-style license that can be
// found in the LICENSE file.
//

#ifndef WHATWG_URL_SEARCH_PARAMS_H
#define WHATWG_URL_SEARCH_PARAMS_H

Expand Down
5 changes: 5 additions & 0 deletions src/url_utf.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright 2016-2019 Rimas Misevičius
// Distributed under the BSD-style license that can be
// found in the LICENSE file.
//

#include "url_utf.h"

namespace whatwg {
Expand Down
5 changes: 5 additions & 0 deletions src/url_utf.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright 2016-2019 Rimas Misevičius
// Distributed under the BSD-style license that can be
// found in the LICENSE file.
//

#ifndef WHATWG_URL_UTF_H
#define WHATWG_URL_UTF_H

Expand Down

0 comments on commit d9a3baf

Please sign in to comment.