]>
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
6 // Copyright: (c) Sylvain Bougnoux
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 // For compilers that support precompilation, includes "wx.h".
11 #include "wx/wxprec.h"
23 //-----------------------------------------------------------------------------
24 // This function allows dynamic access to all image handlers compile within
25 // the library. This function should be in a separate file as some compilers
26 // link against the whole object file as long as just one of is function is called!
28 void wxInitAllImageHandlers()
31 wxImage::AddHandler( new wxPNGHandler
);
34 wxImage::AddHandler( new wxJPEGHandler
);
37 wxImage::AddHandler( new wxTIFFHandler
);
40 wxImage::AddHandler( new wxGIFHandler
);
43 wxImage::AddHandler( new wxPNMHandler
);
46 wxImage::AddHandler( new wxPCXHandler
);
49 wxImage::AddHandler( new wxIFFHandler
);
52 wxImage::AddHandler( new wxICOHandler
);
53 wxImage::AddHandler( new wxCURHandler
);
54 wxImage::AddHandler( new wxANIHandler
);
57 wxImage::AddHandler( new wxTGAHandler
);
60 wxImage::AddHandler( new wxXPMHandler
);