Remove whitespace, update email addresses and URLs.
[kodak.git] / photo.h
1 //+----------------------------------------------------------------------------
2 //
3 // File:     picture.h
4 //
5 // Module:   
6 //
7 // Synopsis: 
8 //
9 // Copyright (C) 1999 Microsoft Corporation.  All rights reserved.
10 //
11 // Author:       sgasch
12 //
13 // Created    8 Jun 1999
14 //
15 //+----------------------------------------------------------------------------
16
17 #ifndef _PICTURE
18 #define _PICTURE
19
20 typedef enum
21 {
22         pictureformat_unknown,
23         pictureformat_raw,
24         pictureformat_jpeg,
25         pictureformat_flashpix,
26         pictureformat_gif,
27         pictureformat_tiff,
28         pictureformat_other
29
30 } PICTURE_FORMAT;
31
32
33 class CPhoto
34 {
35
36 public:
37         inline CPhoto(void) {}
38         virtual ~CPhoto(void) = 0;
39
40         virtual bool GetNumber(int *pNum) = 0;
41         virtual bool GetFormat(PICTURE_FORMAT *eFormat) = 0;
42         virtual bool GetSize(int *pNumBytes) = 0;
43         virtual bool GetTimeStamp(int *pTimeStamp) = 0;
44         virtual bool GetData(BYTE **pData, int *iLength) = 0;
45         virtual bool Delete(void) = 0;
46 };
47
48 #endif