代码搜索结果
找到约 322,615 项符合
Interface 的代码
interface.html
What Is an Interface?
interface.cpp
// Fig. 7.10: interface.cpp
// Definition of class Interface
#include "interface.h"
#include "implementation.h"
Interface::Interface( int v )
: ptr ( new Implementation( v ) ) { }
// cal
interface.h
// Fig. 7.10: interface.h
// Header file for interface.cpp
class Implementation; // forward class declaration
class Interface {
public:
Interface( int );
void setValue( int );
interface.cpp
/***************************************************************************
* 文件名称:Interface.cpp
* 摘 要:该文件部分或全部实现了Interface.h中所声明的函数。
*
* 当前版本:2.0
* 作 者:Moon, Dr Jun Jo, 李迅
* 完成日期:2005年10
interface.cpp
// Fig. 10.26: Interface.cpp
// Implementation of class Interface--client receives this file only
// as precompiled object code, keeping the implementation hidden.
#include "Interface.h" // Interf
interface.h
// Fig. 10.25: Interface.h
// Header file for class Interface
// Client sees this source code, but the source code does not reveal
// the data layout of class Implementation.
class Implementati
interface.h
// interface.h
struct IMotion : public IUnknown
{
STDMETHOD_(void, Fly) () = 0;
STDMETHOD_(int&, GetPosition) () = 0;
};
struct IVisual : public IUnknown
{
STDMETHOD_(void, D
interface.h
// interface.h
struct IMotion : public IUnknown
{
STDMETHOD_(void, Fly) () = 0;
STDMETHOD_(int&, GetPosition) () = 0;
};
struct IVisual : public IUnknown
{
STDMETHOD_(void, D
interface.cpp
#include "Interface.h"
#include "ClockApp.h"
const UCHAR DataLed[] = {127-64, //0
2+4, //1
127-32-4, //2
interface.h
// interface.h
struct IMotion : public IUnknown
{
STDMETHOD_(void, Fly) () = 0;
STDMETHOD_(int&, GetPosition) () = 0;
};
struct IVisual : public IUnknown
{
STDMETHOD_(void, D