#include <NewTypes.h>Go to the source code of this file.
Functions | |
| UInt16 | UriHandlerLimit () |
| Err | UriHandlerNames (Char *uri, Char ***handler_names) |
| Err | UriHandlingPanel () |
| Err | UriSend (Char *uri, UInt16 handler) |
| Err | UriSendByName (Char *uri, Char *handler_name) |
| Err | UriSendEncoded (Char *data) |
This file is part of Puri.
Puri is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Puri is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Puri; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
Get the global limit of the number of handlers per scheme.
|
|
||||||||||||
|
Get the names of the handlers defined in Puri for a given scheme. The necessary memory for handler_names will be allocated for the caller; it is the caller's responsibility to free the memory when it is no longer needed. All handler names will be given, even blank ones which will be null strings, not null pointers.
|
|
|
Switch to the Puri panel which will have a Done button to return. The sysAppLaunchCmdPanelCalledFromApp launch code is used; the calling application should expect to be launched with sysAppLaunchCmdReturnFromPanel when the user clicks the Done button.
|
|
||||||||||||
|
Send the given URI to the given handler defined in Puri.
|
|
||||||||||||
|
Send the given URI to the given handler defined in Puri.
|
|
|
Send the given URI to the given handler defined in Puri. The data argument is an array of bytes containing (optionally a zero-based integer identifying the handler to launch and) the URI string. If the caller passes just a URI string, then the default handler (i.e., handler 0) is launched and passed the URI string. If the first byte of data contains a character whose value is less than 32, then that value is used to identify the handler to be launched, and the remainder of the data argument (from the second byte on) is the URI string passed. Note that the system may have a handler limit which is less than 32, so be careful not to send an invalid handler in the first byte. UriSend or UriSendByName should be used instead under most circumstances.
|
1.3.2