]>
Commit | Line | Data |
---|---|---|
ffecfa5a | 1 | /////////////////////////////////////////////////////////////////////////////// |
e2731512 | 2 | // Name: src/palmos/gdiimage.cpp |
ffecfa5a | 3 | // Purpose: wxGDIImage implementation |
e2731512 | 4 | // Author: William Osborne - minimal working wxPalmOS port |
ffecfa5a JS |
5 | // Modified by: |
6 | // Created: 10/13/04 | |
e2731512 | 7 | // RCS-ID: $Id$ |
ffecfa5a JS |
8 | // Copyright: (c) William Osborne |
9 | // Licence: wxWindows licence | |
10 | /////////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | // ============================================================================ | |
13 | // declarations | |
14 | // ============================================================================ | |
15 | ||
16 | // ---------------------------------------------------------------------------- | |
17 | // headers | |
18 | // ---------------------------------------------------------------------------- | |
19 | ||
ffecfa5a JS |
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" | |
670f9935 | 30 | #include "wx/app.h" |
ffecfa5a JS |
31 | #endif // WX_PRECOMP |
32 | ||
ffecfa5a JS |
33 | #include "wx/bitmap.h" |
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" | |
412e0d47 | 43 | WX_DEFINE_LIST(wxGDIImageHandlerList) |
ffecfa5a JS |
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 | } |