better encapsulation

This commit is contained in:
Glenn Maynard
2005-10-09 01:36:04 +00:00
parent 0940df4b49
commit 797653e5a4
3 changed files with 13 additions and 7 deletions
+10 -1
View File
@@ -823,8 +823,17 @@ void ThemeManager::GetMetricsThatBeginWith( const CString &sClassName_, const CS
}
}
void ThemeManager::LoadPreferencesFromSection( const CString &sClassName )
CString ThemeManager::GetPreferencesSection() const
{
CString sSection = "Preferences";
GetCommandlineArgument( "Type", &sSection );
return sSection;
}
void ThemeManager::LoadPreferencesFromMetrics()
{
CString sClassName = GetPreferencesSection();
set<CString> asNames;
GetMetricsThatBeginWith( sClassName, "", asNames );