]>
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 /////////////////////////////////////////////////////////////////////////////
11 We don't put pragma implement in this file because it is already present in
15 // For compilers that support precompilation, includes "wx.h".
16 #include "wx/wxprec.h"
23 # include "wx/setup.h"
30 //-----------------------------------------------------------------------------
31 // This function allows dynamic access to all image handlers compile within
32 // the library. This function should be in a separate file as some compilers
33 // link against the whole object file as long as just one of is function is called!
35 void wxInitAllImageHandlers()
38 wxImage::AddHandler( new wxPNGHandler
);
41 wxImage::AddHandler( new wxJPEGHandler
);
44 wxImage::AddHandler( new wxTIFFHandler
);
47 wxImage::AddHandler( new wxGIFHandler
);
50 wxImage::AddHandler( new wxPNMHandler
);
53 wxImage::AddHandler( new wxPCXHandler
);
56 wxImage::AddHandler( new wxIFFHandler
);
59 wxImage::AddHandler( new wxXPMHandler
);
62 wxImage::AddHandler( new wxICOHandler
);
63 wxImage::AddHandler( new wxCURHandler
);
64 wxImage::AddHandler( new wxANIHandler
);