mirror of
https://github.com/reactos/reactos.git
synced 2025-07-28 11:42:21 +00:00
[DEVMGR]
Add typedef for CStringAtlW. Fixes msvc build svn path=/trunk/; revision=69419
This commit is contained in:
parent
c0809f38c1
commit
36196c1275
1 changed files with 19 additions and 38 deletions
|
@ -97,45 +97,26 @@ private:
|
|||
}
|
||||
};
|
||||
|
||||
//
|
||||
//template class <typename _BaseType = char, class StringIterator = ChTraitsOS<_BaseType>>
|
||||
//class StrTraitATL :
|
||||
// public StringIterator
|
||||
//{
|
||||
//public:
|
||||
// static HINSTANCE FindStringResourceInstance(_In_ UINT nID) throw()
|
||||
// {
|
||||
// return AtlFindStringResourceInstance(nID);
|
||||
// }
|
||||
//
|
||||
// static IAtlStringMgr* GetDefaultManager() throw()
|
||||
// {
|
||||
// return CAtlStringMgr::GetInstance();
|
||||
// }
|
||||
//};
|
||||
//
|
||||
//
|
||||
//template< typename _CharType = wchar_t>
|
||||
//class ChTraitsOS :
|
||||
// public ChTraitsBase<_CharType>
|
||||
//{
|
||||
//protected:
|
||||
//
|
||||
//public:
|
||||
//
|
||||
//};
|
||||
//
|
||||
//#ifndef _ATL_CSTRING_NO_CRT
|
||||
// typedef CStringT<wchar_t, StrTraitATL<wchar_t, ChTraitsCRT<wchar_t>>> CAtlStringW;
|
||||
//#else
|
||||
// typedef CStringT<wchar_t, StrTraitATL<wchar_t>> CAtlStringW;
|
||||
//#endif
|
||||
//
|
||||
//#ifndef _AFX
|
||||
// typedef CAtlStringW CStringW;
|
||||
//#endif
|
||||
|
||||
template <typename _BaseType = char, class StringIterator = ChTraitsOS<_BaseType>>
|
||||
class StrTraitATL :
|
||||
public StringIterator
|
||||
{
|
||||
public:
|
||||
static HINSTANCE FindStringResourceInstance(_In_ UINT nID) throw()
|
||||
{
|
||||
return AtlFindStringResourceInstance(nID);
|
||||
}
|
||||
|
||||
static IAtlStringMgr* GetDefaultManager() throw()
|
||||
{
|
||||
return CAtlStringMgr::GetInstance();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
} //namespace ATL
|
||||
typedef CStringT<wchar_t, StrTraitATL<wchar_t, ChTraitsCRT<wchar_t>>> CAtlStringW;
|
||||
|
||||
}
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue