diff -r d4a4db6aad1f -r 253cb20021a4 csxhelp/HelpEngine/src/CSXHHtmlTOC1.cpp --- a/csxhelp/HelpEngine/src/CSXHHtmlTOC1.cpp Mon Mar 08 21:43:11 2010 +0000 +++ b/csxhelp/HelpEngine/src/CSXHHtmlTOC1.cpp Sun Mar 14 13:08:47 2010 +0000 @@ -36,9 +36,9 @@ // --------------------------------------------------------- // Items commented in header. // --------------------------------------------------------- -CCSXHHtmlTOC1* CCSXHHtmlTOC1::NewL(const TDesC& aName, const TDesC& aFolder,const TInt& aDrive) +CCSXHHtmlTOC1* CCSXHHtmlTOC1::NewL(const TDesC& aName, const TDesC& aFolder,const TInt& aDrive, TUid aViewId, TInt32 aPriority) { - CCSXHHtmlTOC1* self = new(ELeave) CCSXHHtmlTOC1(aName,aFolder,aDrive); + CCSXHHtmlTOC1* self = new(ELeave) CCSXHHtmlTOC1(aName,aFolder,aDrive, aViewId, aPriority); if(self->IsValid()) return self; delete self; @@ -48,8 +48,8 @@ // --------------------------------------------------------- // Items commented in header. // --------------------------------------------------------- -CCSXHHtmlTOC1::CCSXHHtmlTOC1(const TDesC& aName, const TDesC& aFolder,const TInt& aDrive): - CCSXHGenericTOC1(aName),iAppUid(aFolder),iDrive(aDrive) +CCSXHHtmlTOC1::CCSXHHtmlTOC1(const TDesC& aName, const TDesC& aFolder,const TInt& aDrive, TUid aViewId, TInt32 aPriority): + CCSXHGenericTOC1(aName, aPriority), iAppUid(aFolder), iDrive(aDrive), iViewId(aViewId) {//No implementation required } @@ -65,7 +65,7 @@ // --------------------------------------------------------- TUid CCSXHHtmlTOC1::GetViewID() const { - return KCSXHToc2ViewID; + return iViewId; } // ---------------------------------------------------------