зеркало из https://github.com/mozilla/pjs.git
New suite of CreateHTPane methods to take a variety of parameters.
This commit is contained in:
Родитель
069cc277a2
Коммит
fd50ad0915
|
@ -40,6 +40,28 @@ CRDFNotificationHandler::CreateHTPane()
|
|||
return NULL;
|
||||
}
|
||||
|
||||
HT_Pane
|
||||
CRDFNotificationHandler::CreateHTPane ( HT_Resource inResource )
|
||||
{
|
||||
HT_Notification notifyStruct = CreateNotificationStruct();
|
||||
if (notifyStruct)
|
||||
return HT_PaneFromResource(HT_GetRDFResource(inResource), notifyStruct, false, false, false);
|
||||
else
|
||||
return NULL;
|
||||
}
|
||||
|
||||
HT_Pane
|
||||
CRDFNotificationHandler::CreateHTPane ( const char* inURL, unsigned int inCount,
|
||||
char** inParamNames, char** inParamValues )
|
||||
{
|
||||
HT_Notification notifyStruct = CreateNotificationStruct();
|
||||
if (notifyStruct)
|
||||
return HT_PaneFromURL ( const_cast<char*>(inURL), notifyStruct, false, inCount,
|
||||
inParamNames, inParamValues );
|
||||
else
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void
|
||||
CRDFNotificationHandler::rdfNotifyProc(
|
||||
HT_Notification notifyStruct,
|
||||
|
|
|
@ -31,10 +31,14 @@
|
|||
class CRDFNotificationHandler
|
||||
{
|
||||
protected:
|
||||
virtual HT_Notification CreateNotificationStruct();
|
||||
|
||||
virtual HT_Pane CreateHTPane ( HT_Resource inResource ) ;
|
||||
virtual HT_Pane CreateHTPane ( const char* inURL, unsigned int inCount,
|
||||
char** inParamNames, char** inParamValues ) ;
|
||||
virtual HT_Pane CreateHTPane();
|
||||
|
||||
virtual HT_Notification CreateNotificationStruct();
|
||||
|
||||
virtual void HandleNotification(
|
||||
HT_Notification notifyStruct,
|
||||
HT_Resource node,
|
||||
|
|
Загрузка…
Ссылка в новой задаче