home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
msdn_vcb
/
samples
/
vc98
/
atl
/
atlduck
/
duck
/
duckint.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-03-26
|
1KB
|
47 lines
// DuckInt.h : Declaration of the CDuckInt
//
// This is a part of the Active Template Library.
// Copyright (C) 1996-1998 Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Active Template Library Reference and related
// electronic documentation provided with the library.
// See these sources for detailed information regarding the
// Active Template Library product.
#ifndef __DUCKINT_H_
#define __DUCKINT_H_
#include "duck.h"
#include "resource.h" // main symbols
/////////////////////////////////////////////////////////////////////////////
// CDuckInt
class ATL_NO_VTABLE CDuckInt :
public CComObjectRootEx<CComObjectThreadModel>,
public CComCoClass<CDuckInt, &CLSID_DuckInt>,
public IDuckInt
{
public:
CDuckInt()
{
}
DECLARE_REGISTRY_RESOURCEID(IDR_DUCKINT)
DECLARE_NOT_AGGREGATABLE(CDuckInt)
BEGIN_COM_MAP(CDuckInt)
COM_INTERFACE_ENTRY(IDuckInt)
END_COM_MAP()
// IDuckInt
public:
STDMETHOD(Walk)(BSTR szWhosCalling);
STDMETHOD(Paddle)(BSTR szWhosCalling);
STDMETHOD(Flap)(BSTR szWhosCalling);
STDMETHOD(Quack)(BSTR szWhosCalling);
protected:
};
#endif //__DUCKINT_H_