summaryrefslogtreecommitdiff
path: root/connectivity/source/simpledbt/refbase.hxx
blob: 19c72c639a41482ce9702857ded2695d7dd607d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/* -*- 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 INCLUDED_CONNECTIVITY_SOURCE_SIMPLEDBT_REFBASE_HXX
#define INCLUDED_CONNECTIVITY_SOURCE_SIMPLEDBT_REFBASE_HXX

#include <rtl/ref.hxx>


namespace connectivity
{



    //= ORefBase

    /// base class for all objects implementing the ::rtl::IReference interface
    class ORefBase : public ::rtl::IReference
    {
    protected:
        oslInterlockedCount     m_refCount;

    protected:
        ORefBase() : m_refCount(0) { }
        virtual ~ORefBase();

        virtual oslInterlockedCount SAL_CALL acquire() SAL_OVERRIDE;
        virtual oslInterlockedCount SAL_CALL release() SAL_OVERRIDE;
    };


}   // namespace connectivity


#endif // INCLUDED_CONNECTIVITY_SOURCE_SIMPLEDBT_REFBASE_HXX


/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
td>Fix typosAndrea Gelmini 2015-05-29tdf#91702 - fix stack-based MessBox allocation.Michael Meeks 2015-05-20bin/rename-sw-abbreviations.shlibreoffice-5-0-branch-pointChristian Lohmaier 2015-05-11convert COMMAND_ constants to scoped enumNoel Grandin 2015-05-11loplugin:cstylecast: nop between pointer types of exactly same spellingStephan Bergmann 2015-04-30Gradually typed LinkStephan Bergmann 2015-04-28Merge remote-tracking branch 'origin/feature/vclptr'Michael Meeks 2015-04-23loplugin:staticmethodsNoel Grandin 2015-04-17convert SCRIPTTYPE_ constants to scoped enumNoel Grandin 2015-04-10Fix OutputDevice members / stack allocation.Michael Meeks 2015-04-10vclwidget: change all vcl::window fields to be wrapped in VclPtrNoel Grandin 2015-04-07sc tiled editing: Make the editing of text in shapes in Calc work.Jan Holesovsky 2015-03-26const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann 2015-03-25convert EV_CNTRL constants to enum classNoel Grandin 2015-03-25convert EE_CNTRL constants to enum classNoel Grandin 2015-03-16Add ImpEditView::libreOfficeKitCallback()Miklos Vajna 2015-03-08svx: nAnz -> nCountMiklos Vajna 2015-03-07SdrMarkView: aHdl -> maHdlListMiklos Vajna 2015-02-23Use SdrModel::isTiledRendering()Miklos Vajna 2015-02-23ImpEditEngine::UpdateViews: need to go via Invalidate() for tiled renderingMiklos Vajna 2015-02-23svx: paint TextEdit to the output device in case of tiled renderingMiklos Vajna 2015-02-19svx: nViewAnz -> nViewCountMiklos Vajna 2015-02-17boost->stdCaolán McNamara 2014-12-18svx: Use appropriate OUString functions on string constantsStephan Bergmann