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