]> git.saurik.com Git - wxWidgets.git/blame - src/palmos/gdiimage.cpp
Avoid an assert when m_dir is empty
[wxWidgets.git] / src / palmos / gdiimage.cpp
CommitLineData
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"
0bca0373 31 #include "wx/bitmap.h"
ffecfa5a
JS
32#endif // WX_PRECOMP
33
ffecfa5a
JS
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 43WX_DEFINE_LIST(wxGDIImageHandlerList)
ffecfa5a
JS
44
45// ----------------------------------------------------------------------------
46// auxiliary functions
47// ----------------------------------------------------------------------------
48
49// ----------------------------------------------------------------------------
50// private classes
51// ----------------------------------------------------------------------------
52
53// ============================================================================
54// implementation
55// ============================================================================
56
57wxGDIImageHandlerList wxGDIImage::ms_handlers;
58
59// ----------------------------------------------------------------------------
60// wxGDIImage functions forwarded to wxGDIImageRefData
61// ----------------------------------------------------------------------------
62
63bool wxGDIImage::FreeResource(bool WXUNUSED(force))
64{
65 return false;
66}
67
68WXHANDLE wxGDIImage::GetResourceHandle() const
69{
70 return NULL;
71}
72
73// ----------------------------------------------------------------------------
74// wxGDIImage handler stuff
75// ----------------------------------------------------------------------------
76
77void wxGDIImage::AddHandler(wxGDIImageHandler *handler)
78{
79}
80
81void wxGDIImage::InsertHandler(wxGDIImageHandler *handler)
82{
83}
84
85bool wxGDIImage::RemoveHandler(const wxString& name)
86{
87 return false;
88}
89
90wxGDIImageHandler *wxGDIImage::FindHandler(const wxString& name)
91{
92 return NULL;
93}
94
95wxGDIImageHandler *wxGDIImage::FindHandler(const wxString& extension,
96 long type)
97{
98 return NULL;
99}
100
101wxGDIImageHandler *wxGDIImage::FindHandler(long type)
102{
103 return NULL;
104}
105
106void wxGDIImage::CleanUpHandlers()
107{
108}
109
110void wxGDIImage::InitStandardHandlers()
111{
112}