]> git.saurik.com Git - wxWidgets.git/blob - src/palmos/gdiimage.cpp
check that the version of __sync_sub_and_fetch that returns a value is supported...
[wxWidgets.git] / src / palmos / gdiimage.cpp
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: src/palmos/gdiimage.cpp
3 // Purpose: wxGDIImage implementation
4 // Author: William Osborne - minimal working wxPalmOS port
5 // Modified by:
6 // Created: 10/13/04
7 // RCS-ID: $Id$
8 // Copyright: (c) William Osborne
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
11
12 // ============================================================================
13 // declarations
14 // ============================================================================
15
16 // ----------------------------------------------------------------------------
17 // headers
18 // ----------------------------------------------------------------------------
19
20 // For compilers that support precompilation, includes "wx.h".
21 #include "wx/wxprec.h"
22
23 #ifdef __BORLANDC__
24 #pragma hdrstop
25 #endif
26
27 #ifndef WX_PRECOMP
28 #include "wx/string.h"
29 #include "wx/log.h"
30 #include "wx/app.h"
31 #include "wx/bitmap.h"
32 #endif // WX_PRECOMP
33
34 #include "wx/palmos/gdiimage.h"
35
36 #if wxUSE_WXDIB
37 #include "wx/palmos/dib.h"
38 #endif
39
40 #include "wx/file.h"
41
42 #include "wx/listimpl.cpp"
43 WX_DEFINE_LIST(wxGDIImageHandlerList)
44
45 // ----------------------------------------------------------------------------
46 // auxiliary functions
47 // ----------------------------------------------------------------------------
48
49 // ----------------------------------------------------------------------------
50 // private classes
51 // ----------------------------------------------------------------------------
52
53 // ============================================================================
54 // implementation
55 // ============================================================================
56
57 wxGDIImageHandlerList wxGDIImage::ms_handlers;
58
59 // ----------------------------------------------------------------------------
60 // wxGDIImage functions forwarded to wxGDIImageRefData
61 // ----------------------------------------------------------------------------
62
63 bool wxGDIImage::FreeResource(bool WXUNUSED(force))
64 {
65 return false;
66 }
67
68 WXHANDLE wxGDIImage::GetResourceHandle() const
69 {
70 return NULL;
71 }
72
73 // ----------------------------------------------------------------------------
74 // wxGDIImage handler stuff
75 // ----------------------------------------------------------------------------
76
77 void wxGDIImage::AddHandler(wxGDIImageHandler *handler)
78 {
79 }
80
81 void wxGDIImage::InsertHandler(wxGDIImageHandler *handler)
82 {
83 }
84
85 bool wxGDIImage::RemoveHandler(const wxString& name)
86 {
87 return false;
88 }
89
90 wxGDIImageHandler *wxGDIImage::FindHandler(const wxString& name)
91 {
92 return NULL;
93 }
94
95 wxGDIImageHandler *wxGDIImage::FindHandler(const wxString& extension,
96 long type)
97 {
98 return NULL;
99 }
100
101 wxGDIImageHandler *wxGDIImage::FindHandler(long type)
102 {
103 return NULL;
104 }
105
106 void wxGDIImage::CleanUpHandlers()
107 {
108 }
109
110 void wxGDIImage::InitStandardHandlers()
111 {
112 }