10da73fcecc30140439f856118056df8908609627Daniel Drown/*
20da73fcecc30140439f856118056df8908609627Daniel Drown * Copyright (C) 2008 The Android Open Source Project
30da73fcecc30140439f856118056df8908609627Daniel Drown *
40da73fcecc30140439f856118056df8908609627Daniel Drown * Licensed under the Apache License, Version 2.0 (the "License");
50da73fcecc30140439f856118056df8908609627Daniel Drown * you may not use this file except in compliance with the License.
60da73fcecc30140439f856118056df8908609627Daniel Drown * You may obtain a copy of the License at
70da73fcecc30140439f856118056df8908609627Daniel Drown *
80da73fcecc30140439f856118056df8908609627Daniel Drown *      http://www.apache.org/licenses/LICENSE-2.0
90da73fcecc30140439f856118056df8908609627Daniel Drown *
100da73fcecc30140439f856118056df8908609627Daniel Drown * Unless required by applicable law or agreed to in writing, software
110da73fcecc30140439f856118056df8908609627Daniel Drown * distributed under the License is distributed on an "AS IS" BASIS,
120da73fcecc30140439f856118056df8908609627Daniel Drown * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
130da73fcecc30140439f856118056df8908609627Daniel Drown * See the License for the specific language governing permissions and
140da73fcecc30140439f856118056df8908609627Daniel Drown * limitations under the License.
150da73fcecc30140439f856118056df8908609627Daniel Drown */
160da73fcecc30140439f856118056df8908609627Daniel Drown
170da73fcecc30140439f856118056df8908609627Daniel Drown#ifndef _CLATD_CONTROLLER_H
180da73fcecc30140439f856118056df8908609627Daniel Drown#define _CLATD_CONTROLLER_H
190da73fcecc30140439f856118056df8908609627Daniel Drown
200da73fcecc30140439f856118056df8908609627Daniel Drownclass ClatdController {
210da73fcecc30140439f856118056df8908609627Daniel Drown    pid_t mClatdPid;
220da73fcecc30140439f856118056df8908609627Daniel Drown
230da73fcecc30140439f856118056df8908609627Daniel Drownpublic:
240da73fcecc30140439f856118056df8908609627Daniel Drown    ClatdController();
250da73fcecc30140439f856118056df8908609627Daniel Drown    virtual ~ClatdController();
260da73fcecc30140439f856118056df8908609627Daniel Drown
270da73fcecc30140439f856118056df8908609627Daniel Drown    int startClatd(char *interface);
280da73fcecc30140439f856118056df8908609627Daniel Drown    int stopClatd();
290da73fcecc30140439f856118056df8908609627Daniel Drown    bool isClatdStarted();
300da73fcecc30140439f856118056df8908609627Daniel Drown};
310da73fcecc30140439f856118056df8908609627Daniel Drown
320da73fcecc30140439f856118056df8908609627Daniel Drown#endif
33