blob: d811118eed8e74aa86e01fd5c593caf71c7b5312 [file] [log] [blame]
// Copyright 2014 The Android Open Source Project
//
// This software is licensed under the terms of the GNU General Public
// License version 2, as published by the Free Software Foundation, and
// may be copied, distributed, and modified under those terms.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
#ifndef ANDROID_WEAR_AGENT_ANDROID_WEAR_AGENT_H
#define ANDROID_WEAR_AGENT_ANDROID_WEAR_AGENT_H
// C interface to android/wear-agent/WearAgent.h
#include "android/utils/compiler.h"
#include "android/looper.h"
ANDROID_BEGIN_HEADER
// Start the agent, using |looper| to perform asynchronous tasks.
void android_wear_agent_start(Looper* looper);
// Stop the agent.
void android_wear_agent_stop(void);
ANDROID_END_HEADER
#endif // ANDROID_WEAR_AGENT_ANDROID_WEAR_AGENT_H