File tree Expand file tree Collapse file tree 5 files changed +83
-0
lines changed
Expand file tree Collapse file tree 5 files changed +83
-0
lines changed Original file line number Diff line number Diff line change 11// @flow
2+
3+ /*
4+ Copyright 2016 Aviral Dasgupta and OpenMarket Ltd
5+
6+ Licensed under the Apache License, Version 2.0 (the "License");
7+ you may not use this file except in compliance with the License.
8+ You may obtain a copy of the License at
9+
10+ http://www.apache.org/licenses/LICENSE-2.0
11+
12+ Unless required by applicable law or agreed to in writing, software
13+ distributed under the License is distributed on an "AS IS" BASIS,
14+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+ See the License for the specific language governing permissions and
16+ limitations under the License.
17+ */
18+
219const electron = require ( 'electron' ) ;
320const url = require ( 'url' ) ;
421
Original file line number Diff line number Diff line change 11// @flow
22
3+ /*
4+ Copyright 2016 Aviral Dasgupta and OpenMarket Ltd
5+
6+ Licensed under the Apache License, Version 2.0 (the "License");
7+ you may not use this file except in compliance with the License.
8+ You may obtain a copy of the License at
9+
10+ http://www.apache.org/licenses/LICENSE-2.0
11+
12+ Unless required by applicable law or agreed to in writing, software
13+ distributed under the License is distributed on an "AS IS" BASIS,
14+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+ See the License for the specific language governing permissions and
16+ limitations under the License.
17+ */
18+
319export default class BasePlatform {
420 constructor ( ) {
521 this . notificationCount = 0 ;
Original file line number Diff line number Diff line change 11// @flow
2+
3+ /*
4+ Copyright 2016 Aviral Dasgupta and OpenMarket Ltd
5+
6+ Licensed under the Apache License, Version 2.0 (the "License");
7+ you may not use this file except in compliance with the License.
8+ You may obtain a copy of the License at
9+
10+ http://www.apache.org/licenses/LICENSE-2.0
11+
12+ Unless required by applicable law or agreed to in writing, software
13+ distributed under the License is distributed on an "AS IS" BASIS,
14+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+ See the License for the specific language governing permissions and
16+ limitations under the License.
17+ */
18+
219import BasePlatform from './BasePlatform' ;
320
421// index.js imports us unconditionally, so we need this check here as well
Original file line number Diff line number Diff line change 11// @flow
2+
3+ /*
4+ Copyright 2016 Aviral Dasgupta and OpenMarket Ltd
5+
6+ Licensed under the Apache License, Version 2.0 (the "License");
7+ you may not use this file except in compliance with the License.
8+ You may obtain a copy of the License at
9+
10+ http://www.apache.org/licenses/LICENSE-2.0
11+
12+ Unless required by applicable law or agreed to in writing, software
13+ distributed under the License is distributed on an "AS IS" BASIS,
14+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+ See the License for the specific language governing permissions and
16+ limitations under the License.
17+ */
18+
219import BasePlatform from './BasePlatform' ;
320import Favico from 'favico.js' ;
421
Original file line number Diff line number Diff line change 11// @flow
22
3+ /*
4+ Copyright 2016 Aviral Dasgupta and OpenMarket Ltd
5+
6+ Licensed under the Apache License, Version 2.0 (the "License");
7+ you may not use this file except in compliance with the License.
8+ You may obtain a copy of the License at
9+
10+ http://www.apache.org/licenses/LICENSE-2.0
11+
12+ Unless required by applicable law or agreed to in writing, software
13+ distributed under the License is distributed on an "AS IS" BASIS,
14+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+ See the License for the specific language governing permissions and
16+ limitations under the License.
17+ */
18+
319import ElectronPlatform from './ElectronPlatform' ;
420import WebPlatform from './WebPlatform' ;
521
You can’t perform that action at this time.
0 commit comments