Defines | |
| #define | ALP_MF_THUMBNAILER_PSEUDOAPP "background.thumbnailer" |
| Name of the 'app' that broadcasts thumbnail-complete messages. | |
| #define | ALP_MF_URL_CARD_PREFIX "card://" |
| URL prefix for a card-resident file. | |
| #define | ALP_MF_URL_DEVICE_PREFIX "file://" |
| URL prefix for a device-resident file`. | |
Typedefs | |
| typedef void * | AlpFileMime |
Functions | |
| alp_status_t | alp_mf_get_file_icon_path (const char *path, char **pathout) |
| Provides a path to load an icon from a specific file. | |
| alp_status_t | alp_mf_get_file_thumbnail_path (const char *path, char **pathout) DEPRECATED |
| Deprecated: Provides a path to load a thumbnail for a particular file. This may be an existing file (ie, a cached thumbnail) or it may be a new file, that has to be generated asynchronously. In this latter case, alp_mf_get_file_thumbnail_path will return ALP_STATUS_MF_PENDING and broadcast a ALP_MS_REFRESH_CONTENT notification when the file is ready. | |
| alp_status_t | alp_mf_get_file_thumbnail_path_extended (const char *path, const char *notification, char **pathout, int *token) |
Provides a path to load a thumbnail for a particular file. This may be an existing file (ie, a cached thumbnail) or it may be a new file, that has to be generated asynchronously. In this latter case, alp_mf_get_file_thumbnail_path_extended will return ALP_STATUS_MF_PENDING and broadcast a notification from THUMBNAILER_PSEUDOAPP when the file is ready; the notification will contain a sizeof(int) sized token which will match the token returned when you called this method. | |
| alp_status_t | alp_mf_get_file_url (const char *full_path, char **urlout) |
| Use this to get a mountpoint neutral location identifier (URL) from a path to a valid media file. | |
| alp_status_t | alp_mf_get_media_file_type_id (const char *desc, int32_t *ftid) |
| Given a path to a file, return the MediaSelector file type id for that file. | |
| alp_status_t | alp_mf_get_media_path (const char *udi, const char *filename, char **outpath) |
| Given a file name and a volume ID, return a path to the directory where the file should live. | |
| alp_status_t | alp_mf_get_mime_for_file (const char *file, char **outmime) |
| A convenience shortcut for getting a simple complete mime string for a file. | |
| alp_status_t | alp_mf_get_mime_icon_path (const char *mime, char **pathout) |
| Provides a path to load an icon from a specific mimetype. | |
| alp_status_t | alp_mf_get_path_udi (const char *path, char **udi) |
| This allows you to get volume identifiers from a path. | |
| alp_status_t | alp_mf_get_url_path (const char *url, char **pathout) |
| Use this to get a full path from a mountpoint neutral location identifier (URL). | |
| alp_status_t | alp_mf_get_url_udi (const char *url, char **udi) |
| This allows you to get volume identifiers from a media source URL. | |
| alp_status_t | alp_mf_mime_fini (AlpFileMime handle) |
| Destroy a file mime object when finished with it. | |
| char * | alp_mf_mime_get_mime_string (AlpFileMime handle) |
| Extract the complete mime string. | |
| char * | alp_mf_mime_get_subtype (AlpFileMime handle) |
| Extract just the subtype of the file mime. | |
| char * | alp_mf_mime_get_supertype (AlpFileMime handle) |
| Extract just the supertype of the file mime. | |
| alp_status_t | alp_mf_mime_init (const char *file, AlpFileMime *handle) |
| Create a media file mime object. | |
| bool | alp_mf_mime_is_supported (AlpFileMime handle) |
| Determine if the file is supported by the mime database. | |
| alp_status_t | alp_mf_mime_set_to (AlpFileMime handle, const char *file) |
| Set the file mime to a different file. This is faster than creating a new one. | |
|
|
Name of the 'app' that broadcasts thumbnail-complete messages.
|
|
|
URL prefix for a card-resident file.
|
|
|
URL prefix for a device-resident file`.
|
|
|
|
|
||||||||||||
|
Provides a path to load an icon from a specific file.
|
|
||||||||||||
|
Deprecated: Provides a path to load a thumbnail for a particular file. This may be an existing file (ie, a cached thumbnail) or it may be a new file, that has to be generated asynchronously. In this latter case, alp_mf_get_file_thumbnail_path will return ALP_STATUS_MF_PENDING and broadcast a ALP_MS_REFRESH_CONTENT notification when the file is ready.
|
|
||||||||||||||||||||
|
Provides a path to load a thumbnail for a particular file. This may be an existing file (ie, a cached thumbnail) or it may be a new file, that has to be generated asynchronously. In this latter case, alp_mf_get_file_thumbnail_path_extended will return ALP_STATUS_MF_PENDING and broadcast a notification from THUMBNAILER_PSEUDOAPP when the file is ready; the notification will contain a sizeof(int) sized
|
|
||||||||||||
|
Use this to get a mountpoint neutral location identifier (URL) from a path to a valid media file.
|
|
||||||||||||
|
Given a path to a file, return the MediaSelector file type id for that file.
|
|
||||||||||||||||
|
Given a file name and a volume ID, return a path to the directory where the file should live.
|
|
||||||||||||
|
A convenience shortcut for getting a simple complete mime string for a file.
|
|
||||||||||||
|
Provides a path to load an icon from a specific mimetype.
|
|
||||||||||||
|
This allows you to get volume identifiers from a path.
|
|
||||||||||||
|
Use this to get a full path from a mountpoint neutral location identifier (URL).
|
|
||||||||||||
|
This allows you to get volume identifiers from a media source URL.
|
|
|
Destroy a file mime object when finished with it.
|
|
|
Extract the complete mime string.
|
|
|
Extract just the subtype of the file mime.
|
|
|
Extract just the supertype of the file mime.
|
|
||||||||||||
|
Create a media file mime object.
|
|
|
Determine if the file is supported by the mime database.
|
|
||||||||||||
|
Set the file mime to a different file. This is faster than creating a new one.
|
Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.