diff options
Diffstat (limited to 'lib/details/ct-detail-vibration.h')
-rw-r--r-- | lib/details/ct-detail-vibration.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/lib/details/ct-detail-vibration.h b/lib/details/ct-detail-vibration.h new file mode 100644 index 0000000..abf5942 --- /dev/null +++ b/lib/details/ct-detail-vibration.h @@ -0,0 +1,34 @@ +/* + * Copyright 2012-2013 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * 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 __CT_DETAIL_VIBRATION_H__ +#define __CT_DETAIL_VIBRATION_H__ + +/* + * @brief Get vibration pattern ID by pattern file path + * @param[in] path path to vibration pattern file + * @return vibration pattern ID + */ +int ct_detail_vibration_get_msgid(const char *path); + +/* + * @brief Get vibration pattern file path by vibration ID + * @param[in] vibrtaion_id vibration pattern ID + * @return vibration pattern file path + */ +const char * ct_detail_vibration_get_path(int vibration_msgid); + +#endif /* __CT_DETAIL_VIBRATION_H__ */ |