diff options
Diffstat (limited to 'lib/log/ph-log-main-view.h')
-rwxr-xr-x | lib/log/ph-log-main-view.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/lib/log/ph-log-main-view.h b/lib/log/ph-log-main-view.h new file mode 100755 index 0000000..4da8de0 --- /dev/null +++ b/lib/log/ph-log-main-view.h @@ -0,0 +1,51 @@ +/* + * Copyright 2012 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 __PH_LOG_MAIN_VIEW_H__ +#define __PH_LOG_MAIN_VIEW_H__ + +#include "vconf.h" + +int ph_log_create_content(ph_log_data *log_d); +Eina_Bool ph_log_missed_call_count_reset(void *data); +void ph_log_timezone_changed(keynode_t *key, void *data); +Eina_Bool ph_log_data_changed_cb(void *data); + +/* + * \par Description: + * save info about call log state. + */ +class CheckedState +{ +public : + CheckedState(): m_id (0), m_groupedCount(0), m_checked(false) + {} + + CheckedState(int id, bool checked, int groupedCount) : m_id (id), m_groupedCount(groupedCount), m_checked(checked) + { + } + + int getId() {return m_id;} + int getGroupCount() {return m_groupedCount;} + bool isChecked() {return m_checked;} + +private: + int m_id; + int m_groupedCount; + bool m_checked; +}; + +#endif /* __PH_LOG_MAIN_VIEW_H__ */ |