Index: lib/protobuf/plugin/ProtoGenDartConfig.dart |
diff --git a/lib/protobuf/plugin/ProtoGenDartConfig.dart b/lib/protobuf/plugin/ProtoGenDartConfig.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b95b2b64176ea2cd5d4218e47d4c326ce27756eb |
--- /dev/null |
+++ b/lib/protobuf/plugin/ProtoGenDartConfig.dart |
@@ -0,0 +1,19 @@ |
+// Copyright (c) 2011, 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. |
+ |
+/** |
+ * Represents the configuration of a Protoc call to dart to generate code. |
+ */ |
+class ProtocGenDartConfig { |
+ ProtocGenDartConfig() : protoFiles = [], valid = true; |
+ String out; |
+ String parameter; |
+ bool valid; |
+ List<String> protoFiles; |
+ String toString() { |
+ String files = Strings.join(protoFiles,', '); |
+ return "ProtocGenDartConfig: $out, $parameter [$files]"; |
+ } |
+} |
+ |