// Classic Shell (c) 2009-2016, Ivo Beltchev // Confidential information of Ivo Beltchev. Not for disclosure or distribution without prior written consent from the author #pragma once #include class CStringSet: public std::map { public: CStringSet( void ) { m_hInstance=NULL; } // Initializes the string database void Init( HINSTANCE hInstance ); // Returns a string by ID (returns "" if the string is missing) CString GetString( UINT uID ); private: HINSTANCE m_hInstance; static BOOL CALLBACK CStringSet::EnumResNameProc( HMODULE hModule, LPCTSTR lpszType, LPTSTR lpszName, LONG_PTR lParam ); };