00001 //---------------------------------------------------------------------------- 00002 /** @file GoUctObjectWithSearch.h */ 00003 //---------------------------------------------------------------------------- 00004 00005 #ifndef GOUCT_OBJECTWITHSEARCH_H 00006 #define GOUCT_OBJECTWITHSEARCH_H 00007 00008 class GoUctSearch; 00009 00010 //---------------------------------------------------------------------------- 00011 00012 /** Interface implemented by object that owns a (single) GoUctSearch. 00013 If a GoPlayer implements this interface, the GoUctSearch related GTP 00014 commands in GoUctCommands can be used with this player. 00015 */ 00016 class GoUctObjectWithSearch 00017 { 00018 public: 00019 virtual ~GoUctObjectWithSearch(); 00020 00021 virtual GoUctSearch& Search() = 0; 00022 00023 virtual const GoUctSearch& Search() const = 0; 00024 }; 00025 00026 //---------------------------------------------------------------------------- 00027 00028 #endif // GOUCT_OBJECTWITHSEARCH_H