blob: 709bb386bf70c1d79c5417d94f781fadb7d7a9c7 [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SERVICES_PLATFORM_IOS_SYSTEM_SOUND_IMPL_H_
#define FLUTTER_SERVICES_PLATFORM_IOS_SYSTEM_SOUND_IMPL_H_
#include "base/macros.h"
#include "mojo/public/cpp/bindings/strong_binding.h"
#include "flutter/services/platform/system_sound.mojom.h"
namespace flutter {
namespace platform {
class SystemSoundImpl : public SystemSound {
public:
explicit SystemSoundImpl(mojo::InterfaceRequest<SystemSound> request);
~SystemSoundImpl() override;
void Play(SystemSoundType type, const PlayCallback& callback) override;
private:
mojo::StrongBinding<SystemSound> binding_;
DISALLOW_COPY_AND_ASSIGN(SystemSoundImpl);
};
} // namespace platform
} // namespace flutter
#endif // FLUTTER_SERVICES_PLATFORM_IOS_SYSTEM_SOUND_IMPL_H_