From cec324e22294f7c877a13aa39da0d4c62cef4d19 Mon Sep 17 00:00:00 2001 From: Flavio Bergamaschi Date: Fri, 5 Jun 2020 20:27:57 -0400 Subject: [PATCH] MIT License --- dependencies/Helib_install/CMakeLists.txt | 22 ++++++++++++++++ dependencies/setup.sh | 22 ++++++++++++++++ fhe-toolkit-macos/AppDelegate.h | 23 +++++++++++++---- fhe-toolkit-macos/AppDelegate.m | 25 ++++++++++++++----- .../AppIcon.appiconset/Contents.json | 24 +++++++++++++++++- .../Assets.xcassets/Contents.json | 24 +++++++++++++++++- .../FHE.imageset/Contents.json | 24 +++++++++++++++++- .../SampleCode/CapitalDetailViewController.h | 23 +++++++++++++---- .../SampleCode/CapitalDetailViewController.mm | 25 ++++++++++++++----- fhe-toolkit-macos/SampleCode/CountryData.h | 23 +++++++++++++---- fhe-toolkit-macos/SampleCode/CountryData.m | 25 ++++++++++++++----- .../CountryDisplaySplitViewController.h | 24 +++++++++++++----- .../CountryDisplaySplitViewController.m | 25 ++++++++++++++----- .../SampleCode/CountryTableViewController.h | 23 +++++++++++++---- .../SampleCode/CountryTableViewController.m | 25 ++++++++++++++----- fhe-toolkit-macos/data.json | 22 ++++++++++++++++ fhe-toolkit-macos/main.m | 25 ++++++++++++++----- 17 files changed, 339 insertions(+), 65 deletions(-) diff --git a/dependencies/Helib_install/CMakeLists.txt b/dependencies/Helib_install/CMakeLists.txt index bde74b2..61608a5 100644 --- a/dependencies/Helib_install/CMakeLists.txt +++ b/dependencies/Helib_install/CMakeLists.txt @@ -1,3 +1,25 @@ +#MIT License +# +#Copyright (c) 2020 International Business Machines +# +#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. + cmake_minimum_required(VERSION 3.5 FATAL_ERROR) set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED "NO") diff --git a/dependencies/setup.sh b/dependencies/setup.sh index 281cdd7..972c961 100755 --- a/dependencies/setup.sh +++ b/dependencies/setup.sh @@ -1,3 +1,25 @@ +#MIT License +# +#Copyright (c) 2020 International Business Machines +# +#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. + #!/bin/sh set -x echo " — — — — — — — — — — Building Dependencies Script Started — — — — — — — — — — " diff --git a/fhe-toolkit-macos/AppDelegate.h b/fhe-toolkit-macos/AppDelegate.h index 5b0d85a..0a77f29 100644 --- a/fhe-toolkit-macos/AppDelegate.h +++ b/fhe-toolkit-macos/AppDelegate.h @@ -1,12 +1,25 @@ /* -* IBM Confidential +* MIT License * +* Copyright (c) 2020 International Business Machines * -* Copyright IBM Corporation 2020. +* 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 source code for this program is not published or otherwise divested of -* its trade secrets, irrespective of what has been deposited with the US -* Copyright Office. +* 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. */ #import diff --git a/fhe-toolkit-macos/AppDelegate.m b/fhe-toolkit-macos/AppDelegate.m index 5b9afef..3b46f70 100644 --- a/fhe-toolkit-macos/AppDelegate.m +++ b/fhe-toolkit-macos/AppDelegate.m @@ -1,12 +1,25 @@ /* -* IBM Confidential +* MIT License * +* Copyright (c) 2020 International Business Machines * -* Copyright IBM Corporation 2020. -* -* The source code for this program is not published or otherwise divested of -* its trade secrets, irrespective of what has been deposited with the US -* Copyright Office. +* 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. */ #import "AppDelegate.h" diff --git a/fhe-toolkit-macos/Assets.xcassets/AppIcon.appiconset/Contents.json b/fhe-toolkit-macos/Assets.xcassets/AppIcon.appiconset/Contents.json index 1091658..e51a362 100644 --- a/fhe-toolkit-macos/Assets.xcassets/AppIcon.appiconset/Contents.json +++ b/fhe-toolkit-macos/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -1,3 +1,25 @@ +#MIT License +# +#Copyright (c) 2020 International Business Machines +# +#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. + { "images" : [ { @@ -58,4 +80,4 @@ "version" : 1, "author" : "xcode" } -} \ No newline at end of file +} diff --git a/fhe-toolkit-macos/Assets.xcassets/Contents.json b/fhe-toolkit-macos/Assets.xcassets/Contents.json index da4a164..09e2cc5 100644 --- a/fhe-toolkit-macos/Assets.xcassets/Contents.json +++ b/fhe-toolkit-macos/Assets.xcassets/Contents.json @@ -1,6 +1,28 @@ +#MIT License +# +#Copyright (c) 2020 International Business Machines +# +#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. + { "info" : { "version" : 1, "author" : "xcode" } -} \ No newline at end of file +} diff --git a/fhe-toolkit-macos/Assets.xcassets/FHE.imageset/Contents.json b/fhe-toolkit-macos/Assets.xcassets/FHE.imageset/Contents.json index c447cc8..128dd45 100644 --- a/fhe-toolkit-macos/Assets.xcassets/FHE.imageset/Contents.json +++ b/fhe-toolkit-macos/Assets.xcassets/FHE.imageset/Contents.json @@ -1,3 +1,25 @@ +#MIT License +# +#Copyright (c) 2020 International Business Machines +# +#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. + { "images" : [ { @@ -18,4 +40,4 @@ "version" : 1, "author" : "xcode" } -} \ No newline at end of file +} diff --git a/fhe-toolkit-macos/SampleCode/CapitalDetailViewController.h b/fhe-toolkit-macos/SampleCode/CapitalDetailViewController.h index 6942ec8..7ac2b40 100644 --- a/fhe-toolkit-macos/SampleCode/CapitalDetailViewController.h +++ b/fhe-toolkit-macos/SampleCode/CapitalDetailViewController.h @@ -1,12 +1,25 @@ /* -* IBM Confidential +* MIT License * +* Copyright (c) 2020 International Business Machines * -* Copyright IBM Corporation 2020. +* 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 source code for this program is not published or otherwise divested of -* its trade secrets, irrespective of what has been deposited with the US -* Copyright Office. +* 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. */ #import diff --git a/fhe-toolkit-macos/SampleCode/CapitalDetailViewController.mm b/fhe-toolkit-macos/SampleCode/CapitalDetailViewController.mm index f4253de..e1fcade 100644 --- a/fhe-toolkit-macos/SampleCode/CapitalDetailViewController.mm +++ b/fhe-toolkit-macos/SampleCode/CapitalDetailViewController.mm @@ -1,12 +1,25 @@ /* -* IBM Confidential +* MIT License * +* Copyright (c) 2020 International Business Machines * -* Copyright IBM Corporation 2020. -* -* The source code for this program is not published or otherwise divested of -* its trade secrets, irrespective of what has been deposited with the US -* Copyright Office. +* 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. */ #import "CapitalDetailViewController.h" diff --git a/fhe-toolkit-macos/SampleCode/CountryData.h b/fhe-toolkit-macos/SampleCode/CountryData.h index c013651..63fdc43 100644 --- a/fhe-toolkit-macos/SampleCode/CountryData.h +++ b/fhe-toolkit-macos/SampleCode/CountryData.h @@ -1,12 +1,25 @@ /* -* IBM Confidential +* MIT License * +* Copyright (c) 2020 International Business Machines * -* Copyright IBM Corporation 2020. +* 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 source code for this program is not published or otherwise divested of -* its trade secrets, irrespective of what has been deposited with the US -* Copyright Office. +* 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. */ #import diff --git a/fhe-toolkit-macos/SampleCode/CountryData.m b/fhe-toolkit-macos/SampleCode/CountryData.m index 9b1a08a..5a0492d 100644 --- a/fhe-toolkit-macos/SampleCode/CountryData.m +++ b/fhe-toolkit-macos/SampleCode/CountryData.m @@ -1,12 +1,25 @@ /* -* IBM Confidential +* MIT License * +* Copyright (c) 2020 International Business Machines * -* Copyright IBM Corporation 2020. -* -* The source code for this program is not published or otherwise divested of -* its trade secrets, irrespective of what has been deposited with the US -* Copyright Office. +* 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. */ #import "CountryData.h" diff --git a/fhe-toolkit-macos/SampleCode/CountryDisplaySplitViewController.h b/fhe-toolkit-macos/SampleCode/CountryDisplaySplitViewController.h index 1eecdfd..344426f 100644 --- a/fhe-toolkit-macos/SampleCode/CountryDisplaySplitViewController.h +++ b/fhe-toolkit-macos/SampleCode/CountryDisplaySplitViewController.h @@ -1,14 +1,26 @@ /* -* IBM Confidential +* MIT License * +* Copyright (c) 2020 International Business Machines * -* Copyright IBM Corporation 2020. +* 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 source code for this program is not published or otherwise divested of -* its trade secrets, irrespective of what has been deposited with the US -* Copyright Office. +* 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. */ - #import #import "CountryTableViewController.h" #import "CapitalDetailViewController.h" diff --git a/fhe-toolkit-macos/SampleCode/CountryDisplaySplitViewController.m b/fhe-toolkit-macos/SampleCode/CountryDisplaySplitViewController.m index be7fb7e..16ba5b7 100644 --- a/fhe-toolkit-macos/SampleCode/CountryDisplaySplitViewController.m +++ b/fhe-toolkit-macos/SampleCode/CountryDisplaySplitViewController.m @@ -1,12 +1,25 @@ /* -* IBM Confidential +* MIT License * +* Copyright (c) 2020 International Business Machines * -* Copyright IBM Corporation 2020. -* -* The source code for this program is not published or otherwise divested of -* its trade secrets, irrespective of what has been deposited with the US -* Copyright Office. +* 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. */ #import "CountryDisplaySplitViewController.h" diff --git a/fhe-toolkit-macos/SampleCode/CountryTableViewController.h b/fhe-toolkit-macos/SampleCode/CountryTableViewController.h index df72654..230133a 100644 --- a/fhe-toolkit-macos/SampleCode/CountryTableViewController.h +++ b/fhe-toolkit-macos/SampleCode/CountryTableViewController.h @@ -1,12 +1,25 @@ /* -* IBM Confidential +* MIT License * +* Copyright (c) 2020 International Business Machines * -* Copyright IBM Corporation 2020. +* 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 source code for this program is not published or otherwise divested of -* its trade secrets, irrespective of what has been deposited with the US -* Copyright Office. +* 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. */ #import diff --git a/fhe-toolkit-macos/SampleCode/CountryTableViewController.m b/fhe-toolkit-macos/SampleCode/CountryTableViewController.m index d824381..0ddba8b 100644 --- a/fhe-toolkit-macos/SampleCode/CountryTableViewController.m +++ b/fhe-toolkit-macos/SampleCode/CountryTableViewController.m @@ -1,12 +1,25 @@ /* -* IBM Confidential +* MIT License * +* Copyright (c) 2020 International Business Machines * -* Copyright IBM Corporation 2020. -* -* The source code for this program is not published or otherwise divested of -* its trade secrets, irrespective of what has been deposited with the US -* Copyright Office. +* 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. */ #import "CountryTableViewController.h" diff --git a/fhe-toolkit-macos/data.json b/fhe-toolkit-macos/data.json index 1e9f6c1..36d72bf 100644 --- a/fhe-toolkit-macos/data.json +++ b/fhe-toolkit-macos/data.json @@ -1,3 +1,25 @@ +#MIT License +# +#Copyright (c) 2020 International Business Machines +# +#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. + { "data": [ { "Albania": "Tirana" }, diff --git a/fhe-toolkit-macos/main.m b/fhe-toolkit-macos/main.m index a2da6e5..b7110d9 100644 --- a/fhe-toolkit-macos/main.m +++ b/fhe-toolkit-macos/main.m @@ -1,12 +1,25 @@ /* -* IBM Confidential +* MIT License * +* Copyright (c) 2020 International Business Machines * -* Copyright IBM Corporation 2020. -* -* The source code for this program is not published or otherwise divested of -* its trade secrets, irrespective of what has been deposited with the US -* Copyright Office. +* 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. */ #import