propertyids.hxx (caf5cd79) | propertyids.hxx (bccc1572) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 56 unchanged lines hidden (view full) --- 65 UStringDescription(); 66 }; 67 } 68} 69 70 71//------------------------------------------------------------------------------ 72#define DECL_PROP1IMPL(varname, type) \ | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 56 unchanged lines hidden (view full) --- 65 UStringDescription(); 66 }; 67 } 68} 69 70 71//------------------------------------------------------------------------------ 72#define DECL_PROP1IMPL(varname, type) \ |
73pProperties[nPos++] = ::com::sun::star::beans::Property(::connectivity::OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_##varname), PROPERTY_ID_##varname, ::getCppuType(reinterpret_cast< type*>(NULL)), | 73pProperties[nPos++] = ::com::sun::star::beans::Property(::connectivity::OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_##varname), PROPERTY_ID_##varname, ::getCppuType(static_cast< type*>(NULL)), |
74//------------------------------------------------------------------------------ 75#define DECL_PROP0(varname, type) \ 76 DECL_PROP1IMPL(varname, type) 0) 77//------------------------------------------------------------------------------ 78#define DECL_BOOL_PROP1IMPL(varname) \ 79 pProperties[nPos++] = ::com::sun::star::beans::Property(::connectivity::OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_##varname), PROPERTY_ID_##varname, ::getBooleanCppuType(), 80//------------------------------------------------------------------------------ 81#define DECL_BOOL_PROP0(varname) \ --- 74 unchanged lines hidden --- | 74//------------------------------------------------------------------------------ 75#define DECL_PROP0(varname, type) \ 76 DECL_PROP1IMPL(varname, type) 0) 77//------------------------------------------------------------------------------ 78#define DECL_BOOL_PROP1IMPL(varname) \ 79 pProperties[nPos++] = ::com::sun::star::beans::Property(::connectivity::OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_##varname), PROPERTY_ID_##varname, ::getBooleanCppuType(), 80//------------------------------------------------------------------------------ 81#define DECL_BOOL_PROP0(varname) \ --- 74 unchanged lines hidden --- |