]>
Commit | Line | Data |
---|---|---|
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 | #endif // WX_PRECOMP | |
31 | ||
32 | #include "wx/app.h" | |
33 | ||
34 | #include "wx/bitmap.h" | |
35 | #include "wx/palmos/gdiimage.h" | |
36 | ||
37 | #if wxUSE_WXDIB | |
38 | #include "wx/palmos/dib.h" | |
39 | #endif | |
40 | ||
41 | #include "wx/file.h" | |
42 | ||
43 | #include "wx/listimpl.cpp" | |
44 | WX_DEFINE_LIST(wxGDIImageHandlerList) | |
45 | ||
46 | // ---------------------------------------------------------------------------- | |
47 | // auxiliary functions | |
48 | // ---------------------------------------------------------------------------- | |
49 | ||
50 | // ---------------------------------------------------------------------------- | |
51 | // private classes | |
52 | // ---------------------------------------------------------------------------- | |
53 | ||
54 | // ============================================================================ | |
55 | // implementation | |
56 | // ============================================================================ | |
57 | ||
58 | wxGDIImageHandlerList wxGDIImage::ms_handlers; | |
59 | ||
60 | // ---------------------------------------------------------------------------- | |
61 | // wxGDIImage functions forwarded to wxGDIImageRefData | |
62 | // ---------------------------------------------------------------------------- | |
63 | ||
64 | bool wxGDIImage::FreeResource(bool WXUNUSED(force)) | |
65 | { | |
66 | return false; | |
67 | } | |
68 | ||
69 | WXHANDLE wxGDIImage::GetResourceHandle() const | |
70 | { | |
71 | return NULL; | |
72 | } | |
73 | ||
74 | // ---------------------------------------------------------------------------- | |
75 | // wxGDIImage handler stuff | |
76 | // ---------------------------------------------------------------------------- | |
77 | ||
78 | void wxGDIImage::AddHandler(wxGDIImageHandler *handler) | |
79 | { | |
80 | } | |
81 | ||
82 | void wxGDIImage::InsertHandler(wxGDIImageHandler *handler) | |
83 | { | |
84 | } | |
85 | ||
86 | bool wxGDIImage::RemoveHandler(const wxString& name) | |
87 | { | |
88 | return false; | |
89 | } | |
90 | ||
91 | wxGDIImageHandler *wxGDIImage::FindHandler(const wxString& name) | |
92 | { | |
93 | return NULL; | |
94 | } | |
95 | ||
96 | wxGDIImageHandler *wxGDIImage::FindHandler(const wxString& extension, | |
97 | long type) | |
98 | { | |
99 | return NULL; | |
100 | } | |
101 | ||
102 | wxGDIImageHandler *wxGDIImage::FindHandler(long type) | |
103 | { | |
104 | return NULL; | |
105 | } | |
106 | ||
107 | void wxGDIImage::CleanUpHandlers() | |
108 | { | |
109 | } | |
110 | ||
111 | void wxGDIImage::InitStandardHandlers() | |
112 | { | |
113 | } | |
114 | ||
115 |