AlterOffice
AlterOffice 3.4 SDK C/C++ API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
getglobalmutex.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 
3 
4 #ifndef INCLUDED_OSL_GETGLOBALMUTEX_HXX
5 #define INCLUDED_OSL_GETGLOBALMUTEX_HXX
6 
7 #include "osl/mutex.hxx"
8 
9 namespace osl
10 {
16 {
17 public:
18  ::osl::Mutex* operator()() { return ::osl::Mutex::getGlobalMutex(); }
19 };
20 }
21 
22 #endif // INCLUDED_OSL_GETGLOBALMUTEX_HXX
23 
24 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
A helper functor for the rtl_Instance template.
Definition: getglobalmutex.hxx:15
::osl::Mutex * operator()()
Definition: getglobalmutex.hxx:18
A mutual exclusion synchronization object.
Definition: mutex.hxx:15