]> git.saurik.com Git - wxWidgets.git/blob - src/common/imagpcx.cpp
New PCX Image Handler (still empty)
[wxWidgets.git] / src / common / imagpcx.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: imagpcx.cpp
3 // Purpose: wxImage PCX handler
4 // Author: Guillermo Rodriguez Garcia <guille@iies.es>
5 // Version: 1.00
6 // Last rev: 1999/08/24
7 // Copyright: (c) Guillermo Rodriguez Garcia
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
10
11 /*
12 We don't put pragma implement in this file because it is already present in
13 src/common/image.cpp
14 */
15
16 // For compilers that support precompilation, includes "wx.h".
17 #include "wx/wxprec.h"
18
19 #ifdef __BORLANDC__
20 #pragma hdrstop
21 #endif
22
23 #include "wx/image.h"
24 #include "wx/wfstream.h"
25 #include "wx/module.h"
26 #include "wx/log.h"
27
28 //-----------------------------------------------------------------------------
29 // wxPCXHandler
30 //-----------------------------------------------------------------------------
31
32 #if !USE_SHARED_LIBRARIES
33 IMPLEMENT_DYNAMIC_CLASS(wxPCXHandler,wxImageHandler)
34 #endif
35
36 #if wxUSE_STREAMS
37
38 bool wxPCXHandler::LoadFile( wxImage *image, wxInputStream& stream, bool verbose )
39 {
40 image->Destroy();
41
42 if (verbose)
43 wxLogDebug(_T("wxPCXHandler::LoadFile still not implemented"));
44
45 return FALSE;
46 }
47
48 bool wxPCXHandler::SaveFile( wxImage *image, wxOutputStream& stream, bool verbose )
49 {
50 if (verbose)
51 wxLogDebug(_T("wxPCXHandler::SaveFile still not implemented"));
52
53 return FALSE;
54 }
55
56 bool wxPCXHandler::CanRead( wxInputStream& stream )
57 {
58 return FALSE;
59 }
60
61
62 #endif // wxUSE_STREAMS
63
64