зеркало из https://github.com/mozilla/gecko-dev.git
API to Create panes from RDF_Resources as well.
This commit is contained in:
Родитель
956db7dc06
Коммит
49d487386c
|
@ -42,10 +42,16 @@ CRDFNotificationHandler::CreateHTPane()
|
|||
|
||||
HT_Pane
|
||||
CRDFNotificationHandler::CreateHTPane ( HT_Resource inResource )
|
||||
{
|
||||
return CreateHTPane ( HT_GetRDFResource(inResource) );
|
||||
}
|
||||
|
||||
HT_Pane
|
||||
CRDFNotificationHandler::CreateHTPane ( RDF_Resource inResource )
|
||||
{
|
||||
HT_Notification notifyStruct = CreateNotificationStruct();
|
||||
if (notifyStruct)
|
||||
return HT_PaneFromResource(HT_GetRDFResource(inResource), notifyStruct, false, false, false);
|
||||
return HT_PaneFromResource(inResource, notifyStruct, false, true, true);
|
||||
else
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
@ -33,6 +33,7 @@ class CRDFNotificationHandler
|
|||
protected:
|
||||
|
||||
virtual HT_Pane CreateHTPane ( HT_Resource inResource ) ;
|
||||
virtual HT_Pane CreateHTPane ( RDF_Resource inResource ) ;
|
||||
virtual HT_Pane CreateHTPane ( const char* inURL, unsigned int inCount,
|
||||
char** inParamNames, char** inParamValues ) ;
|
||||
virtual HT_Pane CreateHTPane();
|
||||
|
|
Загрузка…
Ссылка в новой задаче