mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
Search a property by its name
svn path=/trunk/; revision=28770
This commit is contained in:
@@ -1203,6 +1203,18 @@ MingwModuleHandler::GetWidlFlags ( const CompilationUnit& compilationUnit )
|
||||
return compilationUnit.GetSwitches ();
|
||||
}
|
||||
|
||||
string
|
||||
MingwModuleHandler::GetPropertyValue ( const Module& module, const std::string& name )
|
||||
{
|
||||
for ( size_t i = 0; i < module.project.non_if_data.properties.size (); i++ )
|
||||
{
|
||||
const Property& property = *module.project.non_if_data.properties[i];
|
||||
if ( property.name == name )
|
||||
return property.value;
|
||||
}
|
||||
return string ( "" );
|
||||
}
|
||||
|
||||
string
|
||||
MingwModuleHandler::GetRpcServerHeaderFilename ( string basename ) const
|
||||
{
|
||||
|
||||
@@ -211,6 +211,7 @@ private:
|
||||
void GenerateBuildNonSymbolStrippedCode ();
|
||||
void CleanupCompilationUnitVector ( std::vector<CompilationUnit*>& compilationUnits );
|
||||
void GetRpcHeaderDependencies ( std::vector<std::string>& dependencies ) const;
|
||||
static std::string GetPropertyValue ( const Module& module, const std::string& name );
|
||||
std::string GetRpcServerHeaderFilename ( std::string basename ) const;
|
||||
std::string GetRpcClientHeaderFilename ( std::string basename ) const;
|
||||
std::string GetIdlHeaderFilename ( std::string basename ) const;
|
||||
|
||||
Reference in New Issue
Block a user