From d01fba6afc39092ae3ae85c38ac21bb7d26d63e2 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 3 Dec 2012 13:16:26 +0200 Subject: fdo#46808, Adapt sdbc::ConnectionPool UNO service to new style ConnectionPool was already a new-style service, but since it was not exposing all of it's interfaces properly I had to create a unified interface XConnectionPool. Change-Id: Idfa3fa3335173ceeab1785b4049422874b6c9d5a --- offapi/com/sun/star/sdbc/ConnectionPool.idl | 4 +-- offapi/com/sun/star/sdbc/XConnectionPool.idl | 42 ++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 offapi/com/sun/star/sdbc/XConnectionPool.idl (limited to 'offapi/com/sun/star/sdbc') diff --git a/offapi/com/sun/star/sdbc/ConnectionPool.idl b/offapi/com/sun/star/sdbc/ConnectionPool.idl index b9c9e7a2226a..0a3028427ef9 100644 --- a/offapi/com/sun/star/sdbc/ConnectionPool.idl +++ b/offapi/com/sun/star/sdbc/ConnectionPool.idl @@ -21,7 +21,7 @@ module com { module sun { module star { module sdbc { - published interface XDriverManager; + published interface XConnectionPool; /** is the basic service for pooling SDBC connections. @@ -38,7 +38,7 @@ @see com::sun::star::sdbc::XDriver @see com::sun::star::sdbc::XConnection */ -published service ConnectionPool: XDriverManager; +published service ConnectionPool: XConnectionPool; }; }; }; }; diff --git a/offapi/com/sun/star/sdbc/XConnectionPool.idl b/offapi/com/sun/star/sdbc/XConnectionPool.idl new file mode 100644 index 000000000000..2cb87f5d7f52 --- /dev/null +++ b/offapi/com/sun/star/sdbc/XConnectionPool.idl @@ -0,0 +1,42 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + */ +#ifndef __com_sun_star_sdbc_XConnectionPool_idl__ +#define __com_sun_star_sdbc_XConnectionPool_idl__ + +#include +#include + +module com { module sun { module star { module sdbc { + +/* + @since LibreOffice 4.1 +*/ +published interface XConnectionPool +{ + interface XDriverManager; + interface XDriverAccess; +}; + + +}; }; }; }; + + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit