diff --git a/cmd/macfe/rdfui/CRDFNotificationHandler.cp b/cmd/macfe/rdfui/CRDFNotificationHandler.cp index a5544dbc7ef..69d20eca5b9 100644 --- a/cmd/macfe/rdfui/CRDFNotificationHandler.cp +++ b/cmd/macfe/rdfui/CRDFNotificationHandler.cp @@ -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(inURL), notifyStruct, false, inCount, + inParamNames, inParamValues ); + else + return NULL; +} + void CRDFNotificationHandler::rdfNotifyProc( HT_Notification notifyStruct, diff --git a/cmd/macfe/rdfui/CRDFNotificationHandler.h b/cmd/macfe/rdfui/CRDFNotificationHandler.h index 7bae3d9757b..4f3ccd71809 100644 --- a/cmd/macfe/rdfui/CRDFNotificationHandler.h +++ b/cmd/macfe/rdfui/CRDFNotificationHandler.h @@ -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,