/* This header file machine-generated by mktyplib.exe */
/* Interface to type library: DspCalc2 */

#ifndef _DspCalc2_H_
#define _DspCalc2_H_

typedef enum operators {
    OP_NONE = 0,
    OP_PLUS,
    OP_MINUS,
    OP_MULT,
    OP_DIV
} OPERATORS;

/* Definition of interface: _Calculator */
DECLARE_INTERFACE_(_Calculator, IUnknown)
{
    /* IUnknown methods */
    STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
    STDMETHOD_(ULONG, AddRef)(THIS) PURE;
    STDMETHOD_(ULONG, Release)(THIS) PURE;

    /* _Calculator methods */
    STDMETHOD_(void, put_Accum)(THIS_ long l) PURE;
    STDMETHOD_(long, get_Accum)(THIS) PURE;
    STDMETHOD_(void, put_Opnd)(THIS_ long l) PURE;
    STDMETHOD_(long, get_Opnd)(THIS) PURE;
    STDMETHOD_(void, put_Op)(THIS_ short op) PURE;
    STDMETHOD_(short, get_Op)(THIS) PURE;
    STDMETHOD_(BOOL, Eval)(THIS) PURE;
    STDMETHOD_(void, Clear)(THIS) PURE;
    STDMETHOD_(void, Display)(THIS) PURE;
    STDMETHOD_(void, Quit)(THIS) PURE;
    STDMETHOD_(BOOL, Button)(THIS_ BSTR button) PURE;
};

#endif
