images/plugin_impl/search_criteria_impl.h

Go to the documentation of this file.
00001 /*
00002  * File Name: search_criteria_impl.h
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 #ifndef IMAGES_PLUGIN_SEARCH_CRITERIA_H_
00028 #define IMAGES_PLUGIN_SEARCH_CRITERIA_H_
00029 
00030 #include "plugin_inc.h"
00031 
00032 namespace images
00033 {
00034 
00035 // The images image plugin does not support search criteria.
00036 // It's placeholder for the other plugins.
00037 class PluginSearchCriteria : public IPluginUnknown
00038                            , public IPluginSearchCriteria
00039 {
00040 public:
00041     PluginSearchCriteria(void);
00042     ~PluginSearchCriteria(void);
00043 
00044 private:
00045     /// IPluginUnknown
00046     static PluginStatus query_interface_impl(
00047         IPluginUnknown    *thiz,
00048         const UDSString   *id, 
00049         void              **ptr );
00050 
00051     static int release_impl(
00052         IPluginUnknown  *thiz );
00053 
00054     /// IPluginSearchCriteria
00055     static PluginStatus set_search_text_impl(
00056         IPluginUnknown    *thiz, 
00057         const UDSString   *text ); 
00058 
00059     static PluginStatus set_case_sensitive_impl(
00060         IPluginUnknown   *thiz, 
00061         const PluginBool is_sensitive );
00062 
00063     static PluginStatus set_match_whole_word_impl(
00064         IPluginUnknown   *thiz, 
00065         const PluginBool do_match_word );
00066 
00067     static PluginStatus set_forward_impl(
00068         IPluginUnknown    *thiz, 
00069         const PluginBool  do_search_forward );
00070 
00071 
00072 private:
00073 
00074 };
00075 
00076 };  // namespace images
00077 
00078 #endif
00079 
00080 
Generated by  doxygen 1.6.2-20100208