blob: ae4e7c144b35a480378f647c1f18dcaad8e7677e [file] [log] [blame]
// Copyright 2013 The Flutter Authors. 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:pigeon/pigeon.dart';
@ConfigurePigeon(PigeonOptions(
input: 'pigeons/messages.dart',
swiftOut: 'macos/Classes/messages.g.swift',
dartOut: 'lib/messages.g.dart',
dartTestOut: 'test/messages_test.g.dart',
copyrightHeader: 'pigeons/copyright.txt',
))
enum DirectoryType {
applicationDocuments,
applicationSupport,
downloads,
library,
temp,
applicationCache,
}
@HostApi(dartHostTestHandler: 'TestPathProviderApi')
abstract class PathProviderApi {
String? getDirectoryPath(DirectoryType type);
String? getContainerPath(String appGroupIdentifier);
}