storebmp.cpp

来自「signal-processing.rar信号处理demo原码」· C++ 代码 · 共 44 行

CPP
44
字号
/*
//
//               INTEL CORPORATION PROPRIETARY INFORMATION
//  This software is supplied under the terms of a license agreement or
//  nondisclosure agreement with Intel Corporation and may not be copied
//  or disclosed except in accordance with the terms of that agreement.
//        Copyright(c) 1999-2006 Intel Corporation. All Rights Reserved.
//
*/

// StoreBmp.cpp: implementation of the CStoreBmp class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "ippsDemo.h"
#include "StoreBmp.h"
#include "ippsDemoDoc.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

BOOL CStoreBmp::Serialize(CFile* pFile, BOOL isStoring)
{
   ASSERT(m_pDoc);
   m_pFile = pFile;
   CMyString fileName = m_pFile->GetFileName();
   if (fileName.GetExt() != ".bmp") return FALSE;
   if (isStoring) Save();
   else           Load();
   return TRUE;
}

void CStoreBmp::Save()
{
}

void CStoreBmp::Load()
{
}

⌨️ 快捷键说明

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