blob: 703df35b483479db34c497deaceee0c3778d5849 [file] [log] [blame]
Alok Kediya601e9b52013-09-27 11:55:10 +05301/*
2 * Copyright (c) 2012, The Linux Foundation. All rights reserved.
3 * Not a Contribution.
4 *
5 * Copyright (C) 2007 The Android Open Source Project
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 */
19
20#ifndef ANDROID_IDIRECTTRACKCLIENT_H
21#define ANDROID_IDIRECTTRACKCLIENT_H
22
23#include <utils/RefBase.h>
24#include <binder/IInterface.h>
25#include <binder/Parcel.h>
26
27namespace android {
28
29class IDirectTrackClient: public IInterface
30{
31public:
32 DECLARE_META_INTERFACE(DirectTrackClient);
33
34 virtual void notify(int msg) = 0;
35};
36
37// ----------------------------------------------------------------------------
38
39class BnDirectTrackClient: public BnInterface<IDirectTrackClient>
40{
41public:
42 virtual status_t onTransact( uint32_t code,
43 const Parcel& data,
44 Parcel* reply,
45 uint32_t flags = 0);
46};
47
48}; // namespace android
49
50#endif // ANDROID_IDIRECTTRACKCLIENT_H