]>
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"
24 //-----------------------------------------------------------------------------
25 // This function allows dynamic access to all image handlers compile within
26 // the library. This function should be in a separate file as some compilers
27 // link against the whole object file as long as just one of is function is called!
29 void wxInitAllImageHandlers()
32 wxImage::AddHandler( new wxPNGHandler
);
35 wxImage::AddHandler( new wxJPEGHandler
);
38 wxImage::AddHandler( new wxTIFFHandler
);
41 wxImage::AddHandler( new wxGIFHandler
);
44 wxImage::AddHandler( new wxPNMHandler
);
47 wxImage::AddHandler( new wxPCXHandler
);
50 wxImage::AddHandler( new wxIFFHandler
);
53 wxImage::AddHandler( new wxICOHandler
);
54 wxImage::AddHandler( new wxCURHandler
);
55 wxImage::AddHandler( new wxANIHandler
);
58 wxImage::AddHandler( new wxXPMHandler
);