images/plugin_impl/search_criteria_impl.cpp

Go to the documentation of this file.
00001 /*
00002  * File Name: search_criteria_impl.cpp
00003  */
00004 
00005 /*
00006  * This file is part of uds-plugin-images.
00007  *
00008  * uds-plugin-images is free software: you can redistribute it and/or modify
00009  * it under the terms of the GNU General Public License as published by
00010  * the Free Software Foundation, either version 2 of the License, or
00011  * (at your option) any later version.
00012  *
00013  * uds-plugin-images is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00016  * GNU General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU General Public License
00019  * along with this program. If not, see <http://www.gnu.org/licenses/>.
00020  */
00021 
00022 /**
00023  * Copyright (C) 2008 iRex Technologies B.V.
00024  * All rights reserved.
00025  */
00026 
00027 #include "search_criteria_impl.h"
00028 
00029 namespace images
00030 {
00031 
00032 PluginSearchCriteria::PluginSearchCriteria(void)
00033 {
00034     // IPluginUnkown
00035     query_interface = query_interface_impl;
00036     release         = release_impl;
00037 
00038     // IPluginSearchCriteria
00039     set_search_text      = set_search_text_impl;
00040     set_case_sensitive   = set_case_sensitive_impl;
00041     set_match_whole_word = set_match_whole_word_impl;
00042     set_forward          = set_forward_impl;
00043 }
00044 
00045 PluginSearchCriteria::~PluginSearchCriteria(void)
00046 {
00047 }
00048 
00049 PluginStatus 
00050 PluginSearchCriteria::query_interface_impl(IPluginUnknown    *thiz,
00051                                            const UDSString   *id, 
00052                                            void              **ptr )
00053 {
00054     return PLUGIN_FAIL;
00055 }
00056 
00057 int PluginSearchCriteria::release_impl(IPluginUnknown  *thiz )
00058 {
00059     return 0;
00060 }
00061 
00062 /// IPluginSearchCriteria
00063 PluginStatus 
00064 PluginSearchCriteria::set_search_text_impl(IPluginUnknown    *thiz, 
00065                                            const UDSString   *text )
00066 {
00067     return PLUGIN_FAIL;
00068 }
00069 
00070 PluginStatus 
00071 PluginSearchCriteria::set_case_sensitive_impl(IPluginUnknown   *thiz, 
00072                                               const PluginBool is_sensitive )
00073 {
00074     return PLUGIN_FAIL;
00075 }
00076 
00077 PluginStatus 
00078 PluginSearchCriteria::set_match_whole_word_impl(IPluginUnknown   *thiz, 
00079                                                 const PluginBool do_match_word )
00080 {
00081     return PLUGIN_FAIL;
00082 }
00083 
00084 PluginStatus 
00085 PluginSearchCriteria::set_forward_impl(IPluginUnknown    *thiz, 
00086                                        const PluginBool  do_search_forward )
00087 {
00088     return PLUGIN_FAIL;
00089 }
00090 
00091 }   // namespace images
00092 
Generated by  doxygen 1.6.2-20100208