diff options
Diffstat (limited to 'lib/dialer/Search/DataProvider.h')
-rw-r--r-- | lib/dialer/Search/DataProvider.h | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/lib/dialer/Search/DataProvider.h b/lib/dialer/Search/DataProvider.h deleted file mode 100644 index 576a3f6..0000000 --- a/lib/dialer/Search/DataProvider.h +++ /dev/null @@ -1,56 +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_DATA_PROVIDER_H__ -#define __PHONE_DIALER_SEARCH_DATA_PROVIDER_H__ - -#include "Contact.h" -#include "NonCopyable.h" -#include "SharedPtr.h" - -namespace Phone -{ - namespace Dialer - { - namespace Search - { - typedef Utils::SharedPtr<Common::Contact> ContactPtr; - - /* - * @brief Data provider interface for dialer search engine - */ - class DataProvider : public Utils::NonCopyable - { - public: - virtual ~DataProvider() { } - - /* - * @return The current count of data items that can be provided - */ - virtual size_t getCount() const = 0; - - /* - * @brief Get contact data item by index - * @param index Index of data item - * @return Shared pointer to contact data or NULL if out of range - */ - virtual ContactPtr getData(size_t index) const = 0; - }; - } - } -} - -#endif /* __PHONE_DIALER_SEARCH_DATA_PROVIDER_H__ */ |