//+---------------------------------------------------------------------------- // // File: picture.h // // Module: // // Synopsis: // // Copyright (C) 1999 Microsoft Corporation. All rights reserved. // // Author: sgasch // // Created 8 Jun 1999 // //+---------------------------------------------------------------------------- #ifndef _PICTURE #define _PICTURE typedef enum { pictureformat_unknown, pictureformat_raw, pictureformat_jpeg, pictureformat_flashpix, pictureformat_gif, pictureformat_tiff, pictureformat_other } PICTURE_FORMAT; class CPhoto { public: inline CPhoto(void) {} virtual ~CPhoto(void) = 0; virtual bool GetNumber(int *pNum) = 0; virtual bool GetFormat(PICTURE_FORMAT *eFormat) = 0; virtual bool GetSize(int *pNumBytes) = 0; virtual bool GetTimeStamp(int *pTimeStamp) = 0; virtual bool GetData(BYTE **pData, int *iLength) = 0; virtual bool Delete(void) = 0; }; #endif