Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0a762d9d authored by Chris Manton's avatar Chris Manton
Browse files

Introduce stack/include/sco_client_callbacks

Towards modular code

Bug: 163134718
Tag: #refactor
Test: gd/cert/run

Change-Id: I1ca5ff09052799cc487ee3baf1b1851b8db32384
parent c3595251
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@
#include "stack/btm/neighbor_inquiry.h"
#include "stack/include/btm_api_types.h"
#include "stack/include/btm_status.h"
#include "stack/include/sco_client_callbacks.h"
#include "stack/include/sdp_api.h"
#include "types/bt_transport.h"
#include "types/raw_address.h"
+25 −0
Original line number Diff line number Diff line
/*
 * Copyright 2020 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#pragma once

#include "stack/include/btm_api_types.h"

struct sco_client_callback_s {
  tBTM_SCO_CB on_connected;
  tBTM_SCO_CB on_disconnected;
  tBTM_ESCO_CBACK on_sco_event;
};