PProcess::HostSystemURLHandlerInfo Class Reference
#include <pprocess.h>
List of all members.
Detailed Description
This class can be used to register various URL types with the host operating system so that URLs will automatically launch the correct application.
The simplest way to use these functions is to add the code similar to the following to the Main function of the PProcess descendant
PString urlTypes("sip\nh323\nsips\nh323s"); if (!PProcessHostSystemURLHandlerInfo::RegisterTypes(urlTypes, false)) PProcess::HostSystemURLHandlerInfo::RegisterTypes(urlTypes, true);
This will check to see if the URL types sip, h323, sips and h323s are registered with the operating system to launch the current application. If they are not, it will rewrite the system configuraton so that they will.
For more information on the Windows implementation, see the following link:
http://msdn2.microsoft.com/en-us/library/aa767914.aspx
Constructor & Destructor Documentation
PProcess::HostSystemURLHandlerInfo::HostSystemURLHandlerInfo |
( |
|
) |
[inline] |
PProcess::HostSystemURLHandlerInfo::HostSystemURLHandlerInfo |
( |
const PString & |
t |
) |
[inline] |
Member Function Documentation
bool PProcess::HostSystemURLHandlerInfo::CheckIfRegistered |
( |
|
) |
|
PString PProcess::HostSystemURLHandlerInfo::GetCommand |
( |
const PString & |
key |
) |
const |
bool PProcess::HostSystemURLHandlerInfo::GetFromSystem |
( |
|
) |
|
PString PProcess::HostSystemURLHandlerInfo::GetIcon |
( |
|
) |
const |
bool PProcess::HostSystemURLHandlerInfo::Register |
( |
|
) |
|
static bool PProcess::HostSystemURLHandlerInfo::RegisterTypes |
( |
const PString & |
types, |
|
|
bool |
force = true | |
|
) |
| | [static] |
void PProcess::HostSystemURLHandlerInfo::SetCommand |
( |
const PString & |
key, |
|
|
const PString & |
command | |
|
) |
| | |
void PProcess::HostSystemURLHandlerInfo::SetIcon |
( |
const PString & |
icon |
) |
|
Member Data Documentation
The documentation for this class was generated from the following file: