diff -r b18a4bf55ddb -r 2d2d25361590 secureswitools/swisistools/source/interpretsislib/dbhelper.cpp --- a/secureswitools/swisistools/source/interpretsislib/dbhelper.cpp Fri Sep 03 17:01:40 2010 +0300 +++ b/secureswitools/swisistools/source/interpretsislib/dbhelper.cpp Tue Sep 28 14:48:39 2010 +0300 @@ -249,6 +249,22 @@ return (stmtInRom->IntColumn(0) == 1); } +std::wstring DbHelper::GetStubFileName( TInt32 aComponentId ) const + { + std::string selectStubFileName("SELECT StrValue FROM ComponentProperties WHERE ComponentId=? and Name=?;"); + std::auto_ptr stmtStubFileName(iScrDbHandler->PrepareStatement(selectStubFileName)); + + stmtStubFileName->BindInt(1, aComponentId); + stmtStubFileName->BindStr(2, DbConstants::CompStubFileName); + + if(stmtStubFileName->ProcessNextRow()) + { + return stmtStubFileName->StrColumn(0); + } + + return L"\0"; + } + std::wstring DbHelper::GetPackageName( TInt32 aComponentId ) const { std::string selectPckgName("SELECT Name FROM ComponentLocalizables WHERE ComponentId=?;");