diff options
Diffstat (limited to 'include/geocoder_private.h')
-rw-r--r-- | include/geocoder_private.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/include/geocoder_private.h b/include/geocoder_private.h new file mode 100644 index 0000000..547996f --- /dev/null +++ b/include/geocoder_private.h @@ -0,0 +1,44 @@ +/* +* Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +#ifndef __TIZEN_LOCATION_GEOCODER_PRIVATE_H__ +#define __TIZEN_LOCATION_GEOCODER_PRIVATE_H__ + +#include <location/location.h> +#include <geocoder.h> + +#ifdef __cplusplus +extern "C" { +#endif + + +typedef enum { + _GEOCODER_CB_ADDRESS_FROM_POSITION, + _GEOCODER_CB_POSITION_FROM_ADDRESS, + _GEOCODER_CB_TYPE_NUM +}_geocoder_cb_e; + +typedef struct _geocoder_s{ + LocationObject* object; + const void* user_cb[_GEOCODER_CB_TYPE_NUM]; + void* user_data[_GEOCODER_CB_TYPE_NUM]; +} geocoder_s; + +#ifdef __cplusplus +} +#endif + +#endif //__TIZEN_LOCATION_GEOCODER_PRIVATE_H__ |