API to Create panes from RDF_Resources as well.
git-svn-id: svn://10.0.0.236/trunk@7757 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user