// Copyright 1994 by Jon Dart
#ifndef __ECO_H__
#define __ECO_H__

#include "movearr.h"
#include "hash.h"

class ECO
{
public:
    ECO();
    ~ECO();
    
    // Look up a game log, return its ECO code (in "result") and the
    // descriptive name of the opening (in "name"), if there is one.	    
    void classify( const Move_Array &moves, CString &result, CString &name);
        
private:        
    Hash *ht;
};

#endif
