src/CustomActions/DataSource/BinaryIdPathResolver.h

Go to the documentation of this file.
00001 #pragma once
00002 
00003 namespace AppSecInc {
00004 namespace Databases {
00005 namespace ODBC {
00006 
00007         class BinaryIdPathResolver: public AppSecInc::Databases::ODBC::PathResolver
00008         {
00009                 MsiInstall* msiInstall;
00010                 
00011           public:
00012                 BinaryIdPathResolver(MsiInstall* msiInstall);
00013 
00015                 virtual std::wstring readContent(const std::wstring& path);
00016                 
00017                 virtual void setBasePath(const std::wstring& path) {}
00018                 virtual std::wstring getFolderPath(const std::wstring& path) const {return L"";}
00019 
00029                 std::wstring pathToId(const std::wstring& path);
00030                 
00032                 void replaceNonIdCharsWithUnderscore(std::wstring& str);
00033         };
00034 }
00035 }
00036 }


© Application Security Inc. - All Rights Reserved http://msiext.codeplex.com