Main Page | Data Structures | File List | Data Fields | Globals | Related Pages

mime_handler.h File Reference

Install handlers for MIME types. More...


Functions

void rox_mime_install_from_appinfo (void)


Detailed Description

Install handlers for MIME types.


Function Documentation

void rox_mime_install_from_appinfo void   ) 
 

Scan the applications AppInfo.xml file for CanRun and CanThumbnail declarations. If any are found they are reported to the user who is asked whether the application can be set as the current handler for those types.

Example AppInfo.xml (from VideoThumbnail):

 <AppInfo>
 ...
   <CanThumbnail>
     <MimeType type="video/mpeg"/>
     <MimeType type="video/quicktime"/>
     <MimeType type="video/x-msvideo"/>
   </CanThumbnail>
 </AppInfo> 
 


Generated on Fri Nov 24 16:19:59 2006 for ROX-CLib by  doxygen 1.4.4