18afb7e39a83a3e31170612d562eb08508e328388Mathias Agopian/* 28afb7e39a83a3e31170612d562eb08508e328388Mathias Agopian * Copyright (C) 2011 The Android Open Source Project 38afb7e39a83a3e31170612d562eb08508e328388Mathias Agopian * 48afb7e39a83a3e31170612d562eb08508e328388Mathias Agopian * Licensed under the Apache License, Version 2.0 (the "License"); 58afb7e39a83a3e31170612d562eb08508e328388Mathias Agopian * you may not use this file except in compliance with the License. 68afb7e39a83a3e31170612d562eb08508e328388Mathias Agopian * You may obtain a copy of the License at 78afb7e39a83a3e31170612d562eb08508e328388Mathias Agopian * 88afb7e39a83a3e31170612d562eb08508e328388Mathias Agopian * http://www.apache.org/licenses/LICENSE-2.0 98afb7e39a83a3e31170612d562eb08508e328388Mathias Agopian * 108afb7e39a83a3e31170612d562eb08508e328388Mathias Agopian * Unless required by applicable law or agreed to in writing, software 118afb7e39a83a3e31170612d562eb08508e328388Mathias Agopian * distributed under the License is distributed on an "AS IS" BASIS, 128afb7e39a83a3e31170612d562eb08508e328388Mathias Agopian * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 138afb7e39a83a3e31170612d562eb08508e328388Mathias Agopian * See the License for the specific language governing permissions and 148afb7e39a83a3e31170612d562eb08508e328388Mathias Agopian * limitations under the License. 158afb7e39a83a3e31170612d562eb08508e328388Mathias Agopian */ 168afb7e39a83a3e31170612d562eb08508e328388Mathias Agopian 178afb7e39a83a3e31170612d562eb08508e328388Mathias Agopian#ifndef ANDROID_SF_DDM_CONNECTION 188afb7e39a83a3e31170612d562eb08508e328388Mathias Agopian#define ANDROID_SF_DDM_CONNECTION 198afb7e39a83a3e31170612d562eb08508e328388Mathias Agopian 208afb7e39a83a3e31170612d562eb08508e328388Mathias Agopiannamespace android { 218afb7e39a83a3e31170612d562eb08508e328388Mathias Agopian 2263f165fd6b86d04be94d4023e845e98560504a96Keun young Park// wrapper for dlsym 2363f165fd6b86d04be94d4023e845e98560504a96Keun young Parkextern "C" void DdmConnection_start(const char* name); 2463f165fd6b86d04be94d4023e845e98560504a96Keun young Park 258afb7e39a83a3e31170612d562eb08508e328388Mathias Agopianclass DdmConnection { 268afb7e39a83a3e31170612d562eb08508e328388Mathias Agopianpublic: 278afb7e39a83a3e31170612d562eb08508e328388Mathias Agopian static void start(const char* name); 288afb7e39a83a3e31170612d562eb08508e328388Mathias Agopian}; 298afb7e39a83a3e31170612d562eb08508e328388Mathias Agopian 308afb7e39a83a3e31170612d562eb08508e328388Mathias Agopian}; // namespace android 318afb7e39a83a3e31170612d562eb08508e328388Mathias Agopian 328afb7e39a83a3e31170612d562eb08508e328388Mathias Agopian#endif /* ANDROID_SF_DDM_CONNECTION */ 33