File: pldecoderfactory.h

package info (click to toggle)
paintlib 2.6.2-14
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 7,920 kB
  • ctags: 3,874
  • sloc: cpp: 25,209; sh: 10,605; ansic: 1,891; makefile: 120
file content (48 lines) | stat: -rw-r--r-- 994 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/*
/--------------------------------------------------------------------
|
|      $Id: pldecoderfactory.h,v 1.2 2004/09/28 16:14:04 artcom Exp $
|
|      Copyright (c) 1996-2002 Ulrich von Zadow
|
\--------------------------------------------------------------------
*/

#ifndef INCL_PLDECODERFACTORY
#define INCL_PLDECODERFACTORY

#include "plpaintlibdefs.h"

class PLPicDecoder;

class PLDecoderFactory
{
public:
  //!
  virtual ~PLDecoderFactory
      ()
  {}

  //!
  virtual PLPicDecoder * CreateDecoder() const = 0;

  //!
  virtual bool CanDecode(PLBYTE * pData, int DataLen) const = 0;

};

#endif
/*
/--------------------------------------------------------------------
|
|      $Log: pldecoderfactory.h,v $
|      Revision 1.2  2004/09/28 16:14:04  artcom
|      added some missing forward decls
|
|      Revision 1.1  2004/09/15 21:10:46  uzadow
|      Added decoder plugin interface to PLAnyPicDecoder.
|
|
|
\--------------------------------------------------------------------
*/