]>
git.saurik.com Git - wxWidgets.git/blob - src/common/imagall.cpp
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxImage access all handler
4 // Author: Sylvain Bougnoux
6 // Copyright: (c) Sylvain Bougnoux
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 // For compilers that support precompilation, includes "wx.h".
11 #include "wx/wxprec.h"
18 # include "wx/setup.h"
25 //-----------------------------------------------------------------------------
26 // This function allows dynamic access to all image handlers compile within
27 // the library. This function should be in a separate file as some compilers
28 // link against the whole object file as long as just one of is function is called!
30 void wxInitAllImageHandlers()
33 wxImage::AddHandler( new wxPNGHandler
);
36 wxImage::AddHandler( new wxJPEGHandler
);
39 wxImage::AddHandler( new wxTIFFHandler
);
42 wxImage::AddHandler( new wxGIFHandler
);
45 wxImage::AddHandler( new wxPNMHandler
);
48 wxImage::AddHandler( new wxPCXHandler
);
51 wxImage::AddHandler( new wxIFFHandler
);
54 wxImage::AddHandler( new wxICOHandler
);
55 wxImage::AddHandler( new wxCURHandler
);
56 wxImage::AddHandler( new wxANIHandler
);
59 wxImage::AddHandler( new wxXPMHandler
);