Skip to content

Commit

Permalink
Add license headers
Browse files Browse the repository at this point in the history
  • Loading branch information
mosuem committed Sep 11, 2023
1 parent 8203fe3 commit f240e3e
Show file tree
Hide file tree
Showing 19 changed files with 76 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/messages/lib/messages.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

export 'src/intl_object.dart' show IntlObject;
export 'src/message_format.dart';

Expand Down
4 changes: 4 additions & 0 deletions pkgs/messages/lib/messages_json.dart
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

export 'src/message_list_json.dart';
export 'messages.dart';
4 changes: 4 additions & 0 deletions pkgs/messages/lib/package_intl_object.dart
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

//TODO: Move OldIntlObject to package:intl
export 'src/old_intl_object.dart' show OldIntlObject;
4 changes: 4 additions & 0 deletions pkgs/messages/lib/src/intl_object.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'message.dart';

abstract class IntlObject {
Expand Down
4 changes: 4 additions & 0 deletions pkgs/messages/lib/src/intl_style_lookup.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

class Intl {
static MessageLookup? l;

Expand Down
4 changes: 4 additions & 0 deletions pkgs/messages/lib/src/message.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'intl_object.dart';

sealed class Message {
Expand Down
4 changes: 4 additions & 0 deletions pkgs/messages/lib/src/message_format.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

// ignore_for_file: non_constant_identifier_names
import 'intl_object.dart';

Expand Down
4 changes: 4 additions & 0 deletions pkgs/messages/lib/src/message_list_json.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'package:messages_deserializer/messages_deserializer_json.dart';

import 'intl_object.dart';
Expand Down
4 changes: 4 additions & 0 deletions pkgs/messages/lib/src/old_intl_object.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'package:intl/intl.dart' as old_intl;

import 'intl_object.dart';
Expand Down
4 changes: 4 additions & 0 deletions pkgs/messages/lib/varint.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'dart:typed_data';

class VarInt {
Expand Down
4 changes: 4 additions & 0 deletions pkgs/messages/test/messagelist_json_test.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'package:messages/messages_json.dart';
import 'package:messages/package_intl_object.dart';
import 'package:test/test.dart';
Expand Down
4 changes: 4 additions & 0 deletions pkgs/messages/test/varint_test.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'package:messages/varint.dart';
import 'package:test/test.dart';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

/// Support for doing something awesome.
///
/// More dartdocs go here.
Expand Down
4 changes: 4 additions & 0 deletions pkgs/messages_deserializer/lib/src/deserializer.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'package:messages/messages.dart';

abstract class Deserializer<T extends MessageList> {
Expand Down
4 changes: 4 additions & 0 deletions pkgs/messages_deserializer/lib/src/deserializer_json.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'dart:convert';

import 'package:messages/messages_json.dart';
Expand Down
4 changes: 4 additions & 0 deletions pkgs/messages_serializer/lib/messages_serializer.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

/// Support for doing something awesome.
///
/// More dartdocs go here.
Expand Down
4 changes: 4 additions & 0 deletions pkgs/messages_serializer/lib/src/serializer.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'package:messages/messages.dart';

class Serialization<T> {
Expand Down
4 changes: 4 additions & 0 deletions pkgs/messages_serializer/lib/src/serializer_json.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'dart:convert';

import 'package:code_builder/code_builder.dart';
Expand Down
4 changes: 4 additions & 0 deletions pkgs/messages_serializer/test/messages_serializer_test.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'dart:math';

import 'package:messages/messages_json.dart';
Expand Down

0 comments on commit f240e3e

Please sign in to comment.