diff options
Diffstat (limited to 'lib/dialer/Search/ContactNumberRecord.h')
-rw-r--r-- | lib/dialer/Search/ContactNumberRecord.h | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/lib/dialer/Search/ContactNumberRecord.h b/lib/dialer/Search/ContactNumberRecord.h deleted file mode 100644 index bb4eb35..0000000 --- a/lib/dialer/Search/ContactNumberRecord.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - * 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 __PHONE_DIALER_SEARCH_CONTACT_NUMBER_RECORD_H__ -#define __PHONE_DIALER_SEARCH_CONTACT_NUMBER_RECORD_H__ - -#include <contacts.h> -#include "Search/ContactData.h" - -namespace Phone -{ - namespace Dialer - { - namespace Search - { - /* - * @brief Contact data access object based on database record - * from _contacts_contact_number view. - */ - class ContactNumberRecord : public ContactData - { - public: - ContactNumberRecord(); - ContactNumberRecord(const ContactNumberRecord &other); - - /* - * @brief Initialize by fetching contact data from database by number ID - * @param id Number ID from _contacts_number view - * @return true on success, false otherwise - */ - bool initialize(int id); - - /* - * @brief Initialize with data from database number record - * @param record Record from _contacts_contact_number view - */ - bool initialize(contacts_record_h record); - - ContactNumberRecord & operator=(const ContactNumberRecord &other); - }; - } - } -} - -#endif /* __PHONE_DIALER_SEARCH_CONTACT_NUMBER_RECORD_H__ */ |