#ifndef __PgMetaCon_h
#define __PgMetaCon_h

class CA : public IMpgInterface
{
public:
	//----- Interface IPgInfo -----
	virtual const GUID&		GetComponentCLSID () const;
	virtual const wchar_t*	GetAuthorName () const;
	virtual const wchar_t* GetComponentName () const;
	virtual const wchar_t* GetVersionName () const;
	virtual const wchar_t* GetComment () const;
	virtual wchar_t        GetComponentShortcut () const;

	//----- Interface IPgMain -----
	virtual HRESULT Initialize (IMpgMolipMain* pI);
	virtual HRESULT Terminate ();
	virtual HRESULT OnCommand (UINT nCmdID);
	virtual HRESULT OnUpdateCommandUI (MfcCmdUI* pCmdUI);
	virtual HRESULT GetPopHint (WString& wstrHintText, UINT nCmdID);
	virtual HRESULT OnSelectedObjectSave (	UINT nFormatId, const wchar_t* wcpFileName,
											mmetol mmMarginLeft, mmetol mmMarginTop,
											mmetol mmMarginRight, mmetol mmMarginBottom);

	//----- CA domestic -----
	CA ();
	virtual ~CA ();

	virtual short	GetIsUseAntiAlias () const;
	virtual void	SetIsUseAntiAlias (short nIsUseAntiAlias);

private:
	DWORD		m_adwCommandId[5];
	DWORD		m_adwFormatId[5];
}; // class CA.

// _xZkqqHx_iDfCiDjDiDhMiBfLiDgMiDjDiDgHjCoIiLgAiBeCjFeLjAhLiBeC_xHqqkZx_
#define COMPONENT_CLASS_CA0	CA

#endif//__PgMetaCon_h
