nsIGnomeVFSService

IID:4d6b9f23-8682-41b3-bbff-937a958e6496
Inherits From:nsISupports

This interface is intended to be used as a service.


Constants

PRInt32 APP_KEY_COMMAND = 0
PRInt32 APP_KEY_NAME = 1
PRInt32 APP_KEY_SUPPORTED_URI_SCHEMES = 2
PRInt32 APP_KEY_EXPECTS_URIS = 3
PRInt32 APP_KEY_CAN_OPEN_MULTIPLE = 4
PRInt32 APP_KEY_REQUIRES_TERMINAL = 5

Methods

void addMimeType ( AUTF8String id , AUTF8String mimeType ) nsIGnomeVFSMimeApp getAppForMimeType ( AUTF8String mimeType ) AUTF8String getDescriptionForMimeType ( AUTF8String mimeType ) AUTF8String getMimeTypeFromExtension ( AUTF8String extension ) void setAppBoolKey ( AUTF8String id , PRInt32 key , PRBool value ) void setAppForMimeType ( AUTF8String mimeType , AUTF8String id ) void setAppStringKey ( AUTF8String id , PRInt32 key , AUTF8String value ) void setIconForMimeType ( AUTF8String mimeType , AUTF8String iconPath ) void setMimeExtensions ( AUTF8String mimeType , AUTF8String extensionsList ) void showURI ( nsIURI uri ) void syncAppRegistry ( )

void addMimeType ( AUTF8String id , AUTF8String mimeType )

Arguments:
id
mimeType

nsIGnomeVFSMimeApp getAppForMimeType ( AUTF8String mimeType )

Arguments:
mimeType

AUTF8String getDescriptionForMimeType ( AUTF8String mimeType )

Arguments:
mimeType

AUTF8String getMimeTypeFromExtension ( AUTF8String extension )

Arguments:
extension

void setAppBoolKey ( AUTF8String id , PRInt32 key , PRBool value )

Arguments:
id
key
value

void setAppForMimeType ( AUTF8String mimeType , AUTF8String id )

Arguments:
mimeType
id

void setAppStringKey ( AUTF8String id , PRInt32 key , AUTF8String value )

Arguments:
id
key
value

void setIconForMimeType ( AUTF8String mimeType , AUTF8String iconPath )

Arguments:
mimeType
iconPath

void setMimeExtensions ( AUTF8String mimeType , AUTF8String extensionsList )

Arguments:
mimeType
extensionsList

void showURI ( nsIURI uri )

Arguments:
uri

void syncAppRegistry ( )

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com