classicatlspaceship.cpp

来自「不好意思」· C++ 代码 · 共 34 行

CPP
34
字号
// ClassicATLSpaceship.cpp : Implementation of CClassicATLSpaceship

#include "stdafx.h"
#include "ClassicATLSpaceship.h"


// CClassicATLSpaceship


STDMETHODIMP CClassicATLSpaceship::CallStarFleet(FLOAT fStarDate, BSTR* pbstRecipient)
{
    AtlTrace("Calling Star Fleet from the Classic ATL object\n");

    return S_OK;
}

STDMETHODIMP CClassicATLSpaceship::Fly()
{
    AtlTrace("Flying the Classic ATL object\n");
    return S_OK;
}

STDMETHODIMP CClassicATLSpaceship::GetPosition(long* lPosition)
{
    AtlTrace("Getting the position of the Classic ATL object\n");
    *lPosition = m_lPosition;
    return S_OK;
}

STDMETHODIMP CClassicATLSpaceship::Display()
{
    AtlTrace("Displaying the classic ATL object\n");
    return S_OK;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?