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