Kaydet (Commit) ef07ecf9 authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

merge vosremoval-timer.diff

üst a76829b3
...@@ -308,6 +308,8 @@ ...@@ -308,6 +308,8 @@
#include "rtl/ustrbuf.hxx" #include "rtl/ustrbuf.hxx"
#include "rtl/ustring.hxx" #include "rtl/ustring.hxx"
#include "salhelper/timer.hxx"
#include "sys/types.h" #include "sys/types.h"
#include "tools/diagnose_ex.h" #include "tools/diagnose_ex.h"
...@@ -328,7 +330,6 @@ ...@@ -328,7 +330,6 @@
#include "vos/ref.hxx" #include "vos/ref.hxx"
#include "vos/ref.hxx" #include "vos/ref.hxx"
#include "vos/refernce.hxx" #include "vos/refernce.hxx"
#include "vos/timer.hxx"
//---MARKER--- //---MARKER---
#endif #endif
...@@ -95,7 +95,7 @@ OConnectionPool::OConnectionPool(const Reference< XDriver >& _xDriver, ...@@ -95,7 +95,7 @@ OConnectionPool::OConnectionPool(const Reference< XDriver >& _xDriver,
OPoolCollection::getNodeValue(getTimeoutNodeName(),m_xDriverNode) >>= m_nALiveCount; OPoolCollection::getNodeValue(getTimeoutNodeName(),m_xDriverNode) >>= m_nALiveCount;
calculateTimeOuts(); calculateTimeOuts();
m_xInvalidator = new OPoolTimer(this,::vos::TTimeValue(m_nTimeOut,0)); m_xInvalidator = new OPoolTimer(this,::salhelper::TTimeValue(m_nTimeOut,0));
m_xInvalidator->start(); m_xInvalidator->start();
} }
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
#include <cppuhelper/implbase1.hxx> #include <cppuhelper/implbase1.hxx>
#include <comphelper/stl_types.hxx> #include <comphelper/stl_types.hxx>
#include <osl/mutex.hxx> #include <osl/mutex.hxx>
#include <vos/timer.hxx> #include <salhelper/timer.hxx>
#include <vos/ref.hxx> #include <vos/ref.hxx>
#include <rtl/digest.h> #include <rtl/digest.h>
...@@ -47,12 +47,12 @@ namespace connectivity ...@@ -47,12 +47,12 @@ namespace connectivity
//========================================================================== //==========================================================================
/// OPoolTimer - Invalidates the connection pool /// OPoolTimer - Invalidates the connection pool
//========================================================================== //==========================================================================
class OPoolTimer : public ::vos::OTimer class OPoolTimer : public ::salhelper::Timer
{ {
OConnectionPool* m_pPool; OConnectionPool* m_pPool;
public: public:
OPoolTimer(OConnectionPool* _pPool,const ::vos::TTimeValue& _Time) OPoolTimer(OConnectionPool* _pPool,const ::salhelper::TTimeValue& _Time)
: ::vos::OTimer(_Time) : ::salhelper::Timer(_Time)
,m_pPool(_pPool) ,m_pPool(_pPool)
{} {}
protected: protected:
......
...@@ -63,7 +63,8 @@ SHL1STDLIBS=\ ...@@ -63,7 +63,8 @@ SHL1STDLIBS=\
$(CPPUHELPERLIB) \ $(CPPUHELPERLIB) \
$(VOSLIB) \ $(VOSLIB) \
$(DBTOOLSLIB) \ $(DBTOOLSLIB) \
$(SALLIB) $(SALLIB) \
$(SALHELPERLIB)
SHL1DEPN= SHL1DEPN=
SHL1IMPLIB= i$(SHL1TARGET) SHL1IMPLIB= i$(SHL1TARGET)
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#define __FRAMEWORK_HELPER_TIMERHELPER_HXX_ #define __FRAMEWORK_HELPER_TIMERHELPER_HXX_
#include <threadhelp/threadhelpbase.hxx> #include <threadhelp/threadhelpbase.hxx>
#include <vos/timer.hxx> #include <salhelper/timer.hxx>
#include <osl/mutex.hxx> #include <osl/mutex.hxx>
//........................................................................ //........................................................................
......
...@@ -371,6 +371,7 @@ ...@@ -371,6 +371,7 @@
#include "sal/main.h" #include "sal/main.h"
#include "salhelper/singletonref.hxx" #include "salhelper/singletonref.hxx"
#include "salhelper/timer.hxx"
#include "sot/exchange.hxx" #include "sot/exchange.hxx"
#include "sot/filelist.hxx" #include "sot/filelist.hxx"
...@@ -488,7 +489,6 @@ ...@@ -488,7 +489,6 @@
#include "vos/process.hxx" #include "vos/process.hxx"
#include "vos/ref.hxx" #include "vos/ref.hxx"
#include "vos/thread.hxx" #include "vos/thread.hxx"
#include "vos/timer.hxx"
//---MARKER--- //---MARKER---
#endif #endif
......
...@@ -354,6 +354,7 @@ SHL4STDLIBS= \ ...@@ -354,6 +354,7 @@ SHL4STDLIBS= \
$(CPPULIB) \ $(CPPULIB) \
$(SALLIB) \ $(SALLIB) \
$(UCBHELPERLIB) \ $(UCBHELPERLIB) \
$(SALHELPERLIB) \
$(I18NISOLANGLIB) $(I18NISOLANGLIB)
SHL4DEF= $(MISC)$/$(SHL4TARGET).def SHL4DEF= $(MISC)$/$(SHL4TARGET).def
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
::vos::OMutex Tracer::s_aMapSafety; ::vos::OMutex Tracer::s_aMapSafety;
::std::map< ::oslThreadIdentifier, INT32, ::std::less< ::vos::OThread::TThreadIdentifier > > ::std::map< ::oslThreadIdentifier, INT32, ::std::less< ::osl::ThreadIdentifier > >
Tracer::s_aThreadIndents; Tracer::s_aThreadIndents;
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment