X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Ftimeman.h;h=03dc991dd842828c64219e7b26e8ae1190f3b2a9;hp=d187475fba0de2392820c9719fe5cafadc093c8a;hb=dda53e831d369c5d02ccdebed1a2dcc781fc11c0;hpb=391cd57b52a18166f90202f01f28be1f3bf24d4c diff --git a/src/timeman.h b/src/timeman.h index d187475f..03dc991d 100644 --- a/src/timeman.h +++ b/src/timeman.h @@ -25,7 +25,11 @@ //// Prototypes //// -void get_search_times(int myTime, int myInc, int movesToGo, int currentPly, - int* maxSearchTime, int* absoluteMaxSearchTime); +class TimeManager { +public: -#endif // !defined(SEARCH_H_INCLUDED) + void update(int myTime, int myInc, int movesToGo, int currentPly, + int* optimumSearchTime, int* maximumSearchTime); +}; + +#endif // !defined(TIMEMAN_H_INCLUDED)