mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 02:32:57 +00:00
[ATL] Retire atlnew
This commit is contained in:
parent
9853cc4d7e
commit
9824a0154e
26 changed files with 24 additions and 91 deletions
|
@ -5,7 +5,6 @@ add_subdirectory(inflib)
|
|||
if(CMAKE_CROSSCOMPILING)
|
||||
|
||||
add_subdirectory(3rdparty)
|
||||
add_subdirectory(atl)
|
||||
add_subdirectory(comsupp)
|
||||
add_subdirectory(conutils)
|
||||
add_subdirectory(cportlib)
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
|
||||
set_cpp(WITH_RTTI)
|
||||
|
||||
add_definitions(
|
||||
-DUNICODE -D_UNICODE
|
||||
-DROS_Headers)
|
||||
|
||||
add_library(atlnew atlbase.cpp atlcore.cpp)
|
||||
add_dependencies(atlnew psdk)
|
|
@ -1,30 +0,0 @@
|
|||
/*
|
||||
* ReactOS ATL
|
||||
*
|
||||
* Copyright 2009 Andrew Hill <ash77@reactos.org>
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include "atlbase.h"
|
||||
|
||||
namespace ATL
|
||||
{
|
||||
|
||||
CAtlBaseModule _AtlBaseModule;
|
||||
CAtlWinModule _AtlWinModule = CAtlWinModule();
|
||||
CAtlComModule _AtlComModule;
|
||||
|
||||
}; // namespace ATL
|
|
@ -57,7 +57,6 @@ class CComModule;
|
|||
class CAtlComModule;
|
||||
__declspec(selectany) CAtlModule *_pAtlModule = NULL;
|
||||
__declspec(selectany) CComModule *_pModule = NULL;
|
||||
extern CAtlComModule _AtlComModule;
|
||||
|
||||
|
||||
struct _ATL_CATMAP_ENTRY
|
||||
|
@ -590,6 +589,9 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
__declspec(selectany) CAtlComModule _AtlComModule;
|
||||
|
||||
|
||||
template <class T>
|
||||
HRESULT CAtlModuleT<T>::RegisterServer(BOOL bRegTypeLib, const CLSID *pCLSID)
|
||||
{
|
||||
|
@ -983,7 +985,8 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
extern CAtlWinModule _AtlWinModule;
|
||||
__declspec(selectany) CAtlWinModule _AtlWinModule;
|
||||
|
||||
|
||||
class CComAllocator
|
||||
{
|
||||
|
|
|
@ -1,28 +0,0 @@
|
|||
/*
|
||||
* ReactOS ATL
|
||||
*
|
||||
* Copyright 2009 Andrew Hill <ash77@reactos.org>
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include "atlcore.h"
|
||||
|
||||
namespace ATL
|
||||
{
|
||||
|
||||
bool CAtlBaseModule::m_bInitFailed = false;
|
||||
|
||||
}; // namespace ATL
|
|
@ -217,7 +217,8 @@ public:
|
|||
HINSTANCE GetHInstanceAt(int i);
|
||||
};
|
||||
|
||||
extern CAtlBaseModule _AtlBaseModule;
|
||||
__declspec(selectany) CAtlBaseModule _AtlBaseModule;
|
||||
__declspec(selectany) bool CAtlBaseModule::m_bInitFailed = false;
|
||||
|
||||
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue