diff options
author | h.udo <hudokkow@gmail.com> | 2018-06-11 11:13:02 +0100 |
---|---|---|
committer | h.udo <hudokkow@gmail.com> | 2018-07-27 18:51:47 +0100 |
commit | b6b4f40de3b09935dd51e77b7f9e52c4fb4637c9 (patch) | |
tree | b32453cb2dff046c148a9730d243f3e5bd7e2f46 | |
parent | da431a23ac68721ec7596a1a3f4a22f85cc2e693 (diff) |
[xbmc] MIT SPDX license identifier
-rw-r--r-- | xbmc/dbwrappers/dataset.cpp | 34 | ||||
-rw-r--r-- | xbmc/dbwrappers/dataset.h | 34 | ||||
-rw-r--r-- | xbmc/dbwrappers/qry_dat.cpp | 35 | ||||
-rw-r--r-- | xbmc/dbwrappers/qry_dat.h | 34 | ||||
-rw-r--r-- | xbmc/dbwrappers/sqlitedataset.cpp | 32 | ||||
-rw-r--r-- | xbmc/dbwrappers/sqlitedataset.h | 34 | ||||
-rw-r--r-- | xbmc/platform/darwin/osx/HotKeyController.h | 34 | ||||
-rw-r--r-- | xbmc/platform/darwin/osx/HotKeyController.m | 36 | ||||
-rw-r--r-- | xbmc/platform/win32/dirent.h | 27 | ||||
-rw-r--r-- | xbmc/platform/win32/dxerr.cpp | 24 | ||||
-rw-r--r-- | xbmc/platform/win32/dxerr.h | 22 |
11 files changed, 99 insertions, 247 deletions
diff --git a/xbmc/dbwrappers/dataset.cpp b/xbmc/dbwrappers/dataset.cpp index 0480e6adc9..76211360f0 100644 --- a/xbmc/dbwrappers/dataset.cpp +++ b/xbmc/dbwrappers/dataset.cpp @@ -1,30 +1,14 @@ -/********************************************************************** - * Copyright (c) 2004, Leo Seib, Hannover +/* + * Copyright (C) 2004, Leo Seib, Hannover * - * Project: C++ Dynamic Library - * Module: Dataset abstraction layer realisation file - * Author: Leo Seib E-Mail: leoseib@web.de - * Begin: 5/04/2002 + * Project: C++ Dynamic Library + * Module: Dataset abstraction layer realisation file + * Author: Leo Seib E-Mail: leoseib@web.de + * Begin: 5/04/2002 * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - * - **********************************************************************/ + * SPDX-License-Identifier: MIT + * See LICENSES/README.md for more information. + */ #include "dataset.h" #include "utils/log.h" diff --git a/xbmc/dbwrappers/dataset.h b/xbmc/dbwrappers/dataset.h index 3c3e96aac3..b014db3da8 100644 --- a/xbmc/dbwrappers/dataset.h +++ b/xbmc/dbwrappers/dataset.h @@ -1,30 +1,14 @@ -/********************************************************************** - * Copyright (c) 2002, Leo Seib, Hannover +/* + * Copyright (C) 2002, Leo Seib, Hannover * - * Project:Dataset C++ Dynamic Library - * Module: Dataset abstraction layer header file - * Author: Leo Seib E-Mail: leoseib@web.de - * Begin: 5/04/2002 + * Project:Dataset C++ Dynamic Library + * Module: Dataset abstraction layer header file + * Author: Leo Seib E-Mail: leoseib@web.de + * Begin: 5/04/2002 * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - * - **********************************************************************/ + * SPDX-License-Identifier: MIT + * See LICENSES/README.md for more information. + */ #pragma once diff --git a/xbmc/dbwrappers/qry_dat.cpp b/xbmc/dbwrappers/qry_dat.cpp index bbb3b7742f..3522e37a23 100644 --- a/xbmc/dbwrappers/qry_dat.cpp +++ b/xbmc/dbwrappers/qry_dat.cpp @@ -1,30 +1,15 @@ -/********************************************************************** - * Copyright (c) 2004, Leo Seib, Hannover - * - * Project: C++ Dynamic Library - * Module: FieldValue class realisation file - * Author: Leo Seib E-Mail: leoseib@web.de - * Begin: 5/04/2002 - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: +/* + * Copyright (C) 2004, Leo Seib, Hannover * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. + * Project: C++ Dynamic Library + * Module: FieldValue class realisation file + * Author: Leo Seib E-Mail: leoseib@web.de + * Begin: 5/04/2002 * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - * - **********************************************************************/ + * SPDX-License-Identifier: MIT + * See LICENSES/README.md for more information. + */ + /********************************************************************** * 2005-03-29 - Minor modifications to allow get_asBool to function on * on string values that are 1 or 0 diff --git a/xbmc/dbwrappers/qry_dat.h b/xbmc/dbwrappers/qry_dat.h index da18d03d9a..3a7b0f560a 100644 --- a/xbmc/dbwrappers/qry_dat.h +++ b/xbmc/dbwrappers/qry_dat.h @@ -1,30 +1,14 @@ -/********************************************************************** - * Copyright (c) 2004, Leo Seib, Hannover +/* + * Copyright (C) 2004, Leo Seib, Hannover * - * Project:Dataset C++ Dynamic Library - * Module: FieldValue class and result sets classes header file - * Author: Leo Seib E-Mail: leoseib@web.de - * Begin: 5/04/2002 + * Project:Dataset C++ Dynamic Library + * Module: FieldValue class and result sets classes header file + * Author: Leo Seib E-Mail: leoseib@web.de + * Begin: 5/04/2002 * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - * - **********************************************************************/ + * SPDX-License-Identifier: MIT + * See LICENSES/README.md for more information. + */ #pragma once diff --git a/xbmc/dbwrappers/sqlitedataset.cpp b/xbmc/dbwrappers/sqlitedataset.cpp index b40496a7f7..f0b11d4b79 100644 --- a/xbmc/dbwrappers/sqlitedataset.cpp +++ b/xbmc/dbwrappers/sqlitedataset.cpp @@ -1,30 +1,14 @@ /********************************************************************** - * Copyright (c) 2004, Leo Seib, Hannover + * Copyright (C) 2004, Leo Seib, Hannover * - * Project:SQLiteDataset C++ Dynamic Library - * Module: SQLiteDataset class realisation file - * Author: Leo Seib E-Mail: leoseib@web.de - * Begin: 5/04/2002 + * Project:SQLiteDataset C++ Dynamic Library + * Module: SQLiteDataset class realisation file + * Author: Leo Seib E-Mail: leoseib@web.de + * Begin: 5/04/2002 * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - * - **********************************************************************/ + * SPDX-License-Identifier: MIT + * See LICENSES/README.md for more information. + */ #include <iostream> #include <string> diff --git a/xbmc/dbwrappers/sqlitedataset.h b/xbmc/dbwrappers/sqlitedataset.h index fcc725af11..cd8970d1d8 100644 --- a/xbmc/dbwrappers/sqlitedataset.h +++ b/xbmc/dbwrappers/sqlitedataset.h @@ -1,30 +1,14 @@ -/********************************************************************** - * Copyright (c) 2004, Leo Seib, Hannover +/* + * Copyright (C) 2004, Leo Seib, Hannover * - * Project:SQLiteDataset C++ Dynamic Library - * Module: SQLiteDataset class header file - * Author: Leo Seib E-Mail: leoseib@web.de - * Begin: 5/04/2002 + * Project:SQLiteDataset C++ Dynamic Library + * Module: SQLiteDataset class header file + * Author: Leo Seib E-Mail: leoseib@web.de + * Begin: 5/04/2002 * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - * - **********************************************************************/ + * SPDX-License-Identifier: MIT + * See LICENSES/README.md for more information. + */ #pragma once diff --git a/xbmc/platform/darwin/osx/HotKeyController.h b/xbmc/platform/darwin/osx/HotKeyController.h index 89ae87df2e..3101701a56 100644 --- a/xbmc/platform/darwin/osx/HotKeyController.h +++ b/xbmc/platform/darwin/osx/HotKeyController.h @@ -1,28 +1,12 @@ -// -// HotKeyController.h -// -// Modified by Gaurav Khanna on 8/17/10. -// SOURCE: http://github.com/sweetfm/SweetFM/blob/master/Source/HMediaKeys.h -// -// -// Permission is hereby granted, free of charge, to any person -// obtaining a copy of this software and associated documentation -// files (the "Software"), to deal in the Software without restriction, -// including without limitation the rights to use, copy, modify, -// merge, publish, distribute, sublicense, and/or sell copies of -// the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR -// ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF -// CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// +/* + * HotKeyController.h + * + * Modified by Gaurav Khanna on 8/17/10. + * SOURCE: http://github.com/sweetfm/SweetFM/blob/master/Source/HMediaKeys.h + * + * SPDX-License-Identifier: MIT + * See LICENSES/README.md for more information. + */ #import <Cocoa/Cocoa.h> diff --git a/xbmc/platform/darwin/osx/HotKeyController.m b/xbmc/platform/darwin/osx/HotKeyController.m index c226c3a607..a80efabe25 100644 --- a/xbmc/platform/darwin/osx/HotKeyController.m +++ b/xbmc/platform/darwin/osx/HotKeyController.m @@ -1,29 +1,13 @@ -// -// HotKeyController.m -// -// Modified by Gaurav Khanna on 8/17/10. -// SOURCE: http://github.com/sweetfm/SweetFM/blob/master/Source/HMediaKeys.m -// SOURCE: http://stackoverflow.com/questions/2969110/cgeventtapcreate-breaks-down-mysteriously-with-key-down-events -// -// -// Permission is hereby granted, free of charge, to any person -// obtaining a copy of this software and associated documentation -// files (the "Software"), to deal in the Software without restriction, -// including without limitation the rights to use, copy, modify, -// merge, publish, distribute, sublicense, and/or sell copies of -// the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR -// ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF -// CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// +/* + * HotKeyController.m + * + * Modified by Gaurav Khanna on 8/17/10. + * SOURCE: http://github.com/sweetfm/SweetFM/blob/master/Source/HMediaKeys.m + * SOURCE: http://stackoverflow.com/questions/2969110/cgeventtapcreate-breaks-down-mysteriously-with-key-down-events + * + * SPDX-License-Identifier: MIT + * See LICENSES/README.md for more information. + */ #import "HotKeyController.h" #import <IOKit/hidsystem/ev_keymap.h> diff --git a/xbmc/platform/win32/dirent.h b/xbmc/platform/win32/dirent.h index 1f45bf0d71..aa3b2d6121 100644 --- a/xbmc/platform/win32/dirent.h +++ b/xbmc/platform/win32/dirent.h @@ -1,27 +1,10 @@ /* - * dirent.h - dirent API for Microsoft Visual Studio + * dirent.h - dirent API for Microsoft Visual Studio * - * Copyright (C) 2006-2012 Toni Ronkko - * - * Permission is hereby granted, free of charge, to any person obtaining - * a copy of this software and associated documentation files (the - * ``Software''), to deal in the Software without restriction, including - * without limitation the rights to use, copy, modify, merge, publish, - * distribute, sublicense, and/or sell copies of the Software, and to - * permit persons to whom the Software is furnished to do so, subject to - * the following conditions: - * - * The above copyright notice and this permission notice shall be included - * in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND, EXPRESS - * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. - * IN NO EVENT SHALL TONI RONKKO BE LIABLE FOR ANY CLAIM, DAMAGES OR - * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, - * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR - * OTHER DEALINGS IN THE SOFTWARE. + * Copyright (C) 2006-2012 Toni Ronkko * + * SPDX-License-Identifier: MIT + * See LICENSES/README.md for more information. * * Version 1.13, Dec 12 2012, Toni Ronkko * Use traditional 8+3 file name if the name cannot be represented in the @@ -88,7 +71,7 @@ * * May 28 1998, Toni Ronkko * First version. - *****************************************************************************/ + */ #pragma once diff --git a/xbmc/platform/win32/dxerr.cpp b/xbmc/platform/win32/dxerr.cpp index 04b1b8336e..acf3e6a507 100644 --- a/xbmc/platform/win32/dxerr.cpp +++ b/xbmc/platform/win32/dxerr.cpp @@ -1,15 +1,13 @@ -//-------------------------------------------------------------------------------------- -// File: DXErr.cpp -// -// DirectX Error Library -// -// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF -// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO -// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A -// PARTICULAR PURPOSE. -// -// Copyright (c) Microsoft Corporation. All rights reserved. -//-------------------------------------------------------------------------------------- +/* + * File: DXErr.cpp + * + * DirectX Error Library + * + * Copyright (C) Microsoft Corporation. All rights reserved. + * + * SPDX-License-Identifier: MIT + * See LICENSES/README.md for more information. + */ // This version only supports UNICODE. @@ -3963,4 +3961,4 @@ HRESULT WINAPI DXTraceW( _In_z_ const WCHAR* strFile, _In_ DWORD dwLine, _In_ HR #endif return hr; -}
\ No newline at end of file +} diff --git a/xbmc/platform/win32/dxerr.h b/xbmc/platform/win32/dxerr.h index 617200046a..f6956a611c 100644 --- a/xbmc/platform/win32/dxerr.h +++ b/xbmc/platform/win32/dxerr.h @@ -1,15 +1,13 @@ -//-------------------------------------------------------------------------------------- -// File: DXErr.h -// -// DirectX Error Library -// -// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF -// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO -// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A -// PARTICULAR PURPOSE. -// -// Copyright (c) Microsoft Corporation. All rights reserved. -//-------------------------------------------------------------------------------------- +/* + * File: DXErr.h + * + * DirectX Error Library + * + * Copyright (C) Microsoft Corporation. All rights reserved. + * + * SPDX-License-Identifier: MIT + * See LICENSES/README.md for more information. + */ // This version only supports UNICODE. |