@@ -25,11 +25,11 @@ template <typename _client_type, typename _server_type>
2525IC void CObjectFactory::add (const CLASS_ID &clsid, LPCSTR script_clsid)
2626{
2727 {
28- typedef object_type_traits::is_base_and_derived<CLIENT_BASE_CLASS ,_client_type> a;
28+ typedef object_type_traits::is_base_and_derived<ClientObjectBaseClass ,_client_type> a;
2929 STATIC_CHECK (a::value,Client_class_must_be_derived_from_the_CLIENT_BASE_CLASS);
3030 }
3131 {
32- typedef object_type_traits::is_base_and_derived<SERVER_BASE_CLASS ,_server_type> a;
32+ typedef object_type_traits::is_base_and_derived<ServerObjectBaseClass ,_server_type> a;
3333 STATIC_CHECK (a::value,Server_class_must_be_derived_from_the_SERVER_BASE_CLASS);
3434 }
3535 add (xr_new<CObjectItemClientServer<_client_type,_server_type> >(clsid,script_clsid));
@@ -39,15 +39,15 @@ template <typename _unknown_type>
3939IC void CObjectFactory::add (const CLASS_ID &clsid, LPCSTR script_clsid)
4040{
4141 {
42- typedef object_type_traits::is_base_and_derived<CLIENT_BASE_CLASS ,_unknown_type> a;
43- typedef object_type_traits::is_base_and_derived<SERVER_BASE_CLASS ,_unknown_type> b;
42+ typedef object_type_traits::is_base_and_derived<ClientObjectBaseClass ,_unknown_type> a;
43+ typedef object_type_traits::is_base_and_derived<ServerObjectBaseClass ,_unknown_type> b;
4444 STATIC_CHECK (a::value || b::value,Class_must_be_derived_from_the_CLIENT_BASE_CLASS_or_SERVER_BASE_CLASS);
4545 }
4646 add (
4747 xr_new<
4848 CObjectItemSingle<
4949 _unknown_type,
50- object_type_traits::is_base_and_derived<CLIENT_BASE_CLASS ,_unknown_type>::value
50+ object_type_traits::is_base_and_derived<ClientObjectBaseClass ,_unknown_type>::value
5151 >
5252 >
5353 (clsid,script_clsid)
0 commit comments