#if !defined(AFX_ICE_GTRADE_H__A3127FC8_F205_4753_8E58_BCB91C0C5464__INCLUDED_)
#define AFX_ICE_GTRADE_H__A3127FC8_F205_4753_8E58_BCB91C0C5464__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++

// NOTE: Do not modify the contents of this file.  If this class is regenerated by
//  Microsoft Visual C++, your modifications will be overwritten.

/////////////////////////////////////////////////////////////////////////////
// CICE_gTrade wrapper class

class CICE_gTrade : public CWnd
{
protected:
	DECLARE_DYNCREATE(CICE_gTrade)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0xd8d11a66, 0x3b99, 0x4fc6, { 0x97, 0x8, 0x1f, 0xce, 0x3, 0x4, 0x36, 0xd1 } };
		return clsid;
	}
	virtual BOOL Create(LPCTSTR lpszClassName,
		LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect,
		CWnd* pParentWnd, UINT nID,
		CCreateContext* pContext = NULL)
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }

    BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect, CWnd* pParentWnd, UINT nID,
		CFile* pPersist = NULL, BOOL bStorage = FALSE,
		BSTR bstrLicKey = NULL)
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
		pPersist, bStorage, bstrLicKey); }

// Attributes
public:

// Operations
public:
	long Login(LPCTSTR strProfilePath, LPCTSTR strSession);
	void Logout(LPCTSTR strSession);
	long GetConnectStatus(LPCTSTR strSession);
	long ProcessOrder();
	long GetOrderCount();
	CString GetOrderString(long nIndex, long nField);
	double GetOrderValue(long nIndex, long nField);
	long GetFillOrderCount();
	CString GetFillOrderString(long nIndex, long nField);
	double GetFillOrderValue(long nIndex, long nField);
	long QueryStatement(long nInfoType);
	long GetStatementCount(long nInfoType);
	CString GetStatementString(long nInfoType, long nIndex, long nField);
	double GetStatementValue(long nInfoType, long nIndex, long nField);
	void ClearOrder();
	void SetOrderInfoString(long nField, LPCTSTR strData);
	void SetOrderInfoValue(long nField, double dbData);
	long TouchanceLogin(LPCTSTR strProfilePath, LPCTSTR strSession);
	long TouchanceLoginX(LPCTSTR strLoginInfo);
	void SetSecurities(long nSecurityType, LPCTSTR strSecurityName, long nSecurityValue);
	void TouchanceLoginY(LPCTSTR strLicenseFile);
	void AboutBox();
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_ICE_GTRADE_H__A3127FC8_F205_4753_8E58_BCB91C0C5464__INCLUDED_)
