From dc1952a993dd32845f39108057164186e364518d Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 21 Oct 2016 09:41:05 +0100 Subject: [PATCH] Copyright headers --- electron/src/electron-main.js | 17 +++++++++++++++++ src/vector/platform/BasePlatform.js | 16 ++++++++++++++++ src/vector/platform/ElectronPlatform.js | 17 +++++++++++++++++ src/vector/platform/WebPlatform.js | 17 +++++++++++++++++ src/vector/platform/index.js | 16 ++++++++++++++++ 5 files changed, 83 insertions(+) diff --git a/electron/src/electron-main.js b/electron/src/electron-main.js index 6ce4ddbc8f..d6e0ba4d49 100644 --- a/electron/src/electron-main.js +++ b/electron/src/electron-main.js @@ -1,4 +1,21 @@ // @flow + +/* +Copyright 2016 Aviral Dasgupta and OpenMarket Ltd + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + const electron = require('electron'); const url = require('url'); diff --git a/src/vector/platform/BasePlatform.js b/src/vector/platform/BasePlatform.js index 4330731f87..79d540ff30 100644 --- a/src/vector/platform/BasePlatform.js +++ b/src/vector/platform/BasePlatform.js @@ -1,5 +1,21 @@ // @flow +/* +Copyright 2016 Aviral Dasgupta and OpenMarket Ltd + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + export default class BasePlatform { constructor() { this.notificationCount = 0; diff --git a/src/vector/platform/ElectronPlatform.js b/src/vector/platform/ElectronPlatform.js index cecbd07762..56620de21a 100644 --- a/src/vector/platform/ElectronPlatform.js +++ b/src/vector/platform/ElectronPlatform.js @@ -1,4 +1,21 @@ // @flow + +/* +Copyright 2016 Aviral Dasgupta and OpenMarket Ltd + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + import BasePlatform from './BasePlatform'; // index.js imports us unconditionally, so we need this check here as well diff --git a/src/vector/platform/WebPlatform.js b/src/vector/platform/WebPlatform.js index 283b669a47..be1244434e 100644 --- a/src/vector/platform/WebPlatform.js +++ b/src/vector/platform/WebPlatform.js @@ -1,4 +1,21 @@ // @flow + +/* +Copyright 2016 Aviral Dasgupta and OpenMarket Ltd + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + import BasePlatform from './BasePlatform'; import Favico from 'favico.js'; diff --git a/src/vector/platform/index.js b/src/vector/platform/index.js index 26beb0bab6..652d2455b1 100644 --- a/src/vector/platform/index.js +++ b/src/vector/platform/index.js @@ -1,5 +1,21 @@ // @flow +/* +Copyright 2016 Aviral Dasgupta and OpenMarket Ltd + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + import ElectronPlatform from './ElectronPlatform'; import WebPlatform from './WebPlatform';