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 class GoUctObjectWithSearch 00016 { 00017 public: 00018 virtual ~GoUctObjectWithSearch(); 00019 00020 virtual GoUctSearch& Search() = 0; 00021 00022 virtual const GoUctSearch& Search() const = 0; 00023 }; 00024 00025 //---------------------------------------------------------------------------- 00026 00027 #endif // GOUCT_OBJECTWITHSEARCH_H