Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
16e6a3c1
Commit
16e6a3c1
authored
Oct 11, 2011
by
Tristan Matthews
Browse files
* #7133: renamed libs/utilspp to lowercase
parent
192cfb66
Changes
14
Hide whitespace changes
Inline
Side-by-side
daemon/libs/utilspp/Makefile.am
View file @
16e6a3c1
...
...
@@ -3,8 +3,8 @@ SUBDIRS = singleton
noinst_LTLIBRARIES
=
libutilspp.la
libutilspp_la_SOURCES
=
\
N
ull
T
ype.hpp
\
S
ingleton.hpp
\
T
hreading
S
ingle.hpp
T
hreading
S
ingle.inl
n
ull
_t
ype.hpp
\
s
ingleton.hpp
\
t
hreading
_s
ingle.hpp
t
hreading
_s
ingle.inl
libutilspp_la_LIBADD
=
./singleton/libsingleton.la
daemon/libs/utilspp/Singleton.hpp
deleted
100644 → 0
View file @
192cfb66
#include
"ThreadingSingle.hpp"
#include
"singleton/SingletonHolder.hpp"
daemon/libs/utilspp/
N
ull
T
ype.hpp
→
daemon/libs/utilspp/
n
ull
_t
ype.hpp
View file @
16e6a3c1
File moved
daemon/libs/utilspp/singleton.hpp
0 → 100644
View file @
16e6a3c1
#include
"threading_single.hpp"
#include
"singleton/singleton_holder.hpp"
daemon/libs/utilspp/singleton/Makefile.am
View file @
16e6a3c1
noinst_LTLIBRARIES
=
libsingleton.la
libsingleton_la_SOURCES
=
\
CreationUsingNew.hpp CreationUsingNew.inl
\
LifetimeDefault.hpp LifetimeDefault.inl
\
SingletonHolder.hpp SingletonHolder.inl
#pkginclude_HEADERS = \
# CreationStatic.hpp CreationStatic.inl \
# CreationUsingNew.hpp CreationUsingNew.inl \
# LifetimeDefault.hpp LifetimeDefault.inl \
# LifetimeLibrary.hpp LifetimeLibrary.inl \
# LifetimeWithLongevity.hpp LifetimeWithLongevity.inl \
# PrivateMembers.hpp PrivateMembers.inl \
# SingletonHolder.hpp SingletonHolder.inl
#pkgincludedir=$(includedir)/utilspp/singleton
creation_using_new.hpp creation_using_new.inl
\
lifetime_default.hpp lifetime_default.inl
\
singleton_holder.hpp singleton_holder.inl
daemon/libs/utilspp/singleton/
C
reation
U
sing
N
ew.hpp
→
daemon/libs/utilspp/singleton/
c
reation
_u
sing
_n
ew.hpp
View file @
16e6a3c1
...
...
@@ -21,8 +21,8 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#ifndef CREATION_USING_NEW_HPP
#define CREATION_USING_NEW_HPP
#ifndef
__
CREATION_USING_NEW_HPP
__
#define
__
CREATION_USING_NEW_HPP
__
/**
* This class is a creation policy for the utilspp::singleton_holder. The
...
...
@@ -38,6 +38,5 @@ namespace utilspp
};
}
#include
"CreationUsingNew.inl"
#endif
#include
"creation_using_new.inl"
#endif // __CREATION_USING_NEW_HPP__
daemon/libs/utilspp/singleton/
C
reation
U
sing
N
ew.inl
→
daemon/libs/utilspp/singleton/
c
reation
_u
sing
_n
ew.inl
View file @
16e6a3c1
File moved
daemon/libs/utilspp/singleton/
L
ifetime
D
efault.hpp
→
daemon/libs/utilspp/singleton/
l
ifetime
_d
efault.hpp
View file @
16e6a3c1
...
...
@@ -24,9 +24,6 @@
#ifndef LIFETIME_DEFAULT_HPP
#define LIFETIME_DEFAULT_HPP
#include
<stdexcept>
#include
<cstdlib>
namespace
utilspp
{
template
<
typename
T
>
...
...
@@ -38,6 +35,6 @@ namespace utilspp
};
}
#include
"
L
ifetime
D
efault.inl"
#include
"
l
ifetime
_d
efault.inl"
#endif
daemon/libs/utilspp/singleton/
L
ifetime
D
efault.inl
→
daemon/libs/utilspp/singleton/
l
ifetime
_d
efault.inl
View file @
16e6a3c1
...
...
@@ -21,8 +21,11 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#ifndef LIFETIME_DEFAULT_INL
#define LIFETIME_DEFAULT_INL
#ifndef __LIFETIME_DEFAULT_INL__
#define __LIFETIME_DEFAULT_INL__
#include <cstdlib>
#include <stdexcept>
template< typename T >
void
...
...
@@ -35,8 +38,7 @@ template< typename T >
void
utilspp::LifetimeDefault< T >::onDeadReference()
{
throw std::logic_error(
"Dead reference detected"
);
throw std::logic_error("Dead reference detected");
}
#endif
#endif // __LIFETIME_DEFAULT_INL__
daemon/libs/utilspp/singleton/
S
ingleton
H
older.hpp
→
daemon/libs/utilspp/singleton/
s
ingleton
_h
older.hpp
View file @
16e6a3c1
...
...
@@ -21,14 +21,12 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#ifndef SINGLETON_HOLDER_HPP
#define SINGLETON_HOLDER_HPP
#ifndef
__
SINGLETON_HOLDER_HPP
__
#define
__
SINGLETON_HOLDER_HPP
__
#include
<cassert>
#include
"CreationUsingNew.hpp"
#include
"LifetimeDefault.hpp"
#include
"../ThreadingSingle.hpp"
#include
"creation_using_new.hpp"
#include
"lifetime_default.hpp"
#include
"../threading_single.hpp"
namespace
utilspp
{
...
...
@@ -60,6 +58,6 @@ namespace utilspp
}
#include
"
S
ingleton
H
older.inl"
#include
"
s
ingleton
_h
older.inl"
#endif
daemon/libs/utilspp/singleton/
S
ingleton
H
older.inl
→
daemon/libs/utilspp/singleton/
s
ingleton
_h
older.inl
View file @
16e6a3c1
...
...
@@ -21,9 +21,10 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#ifndef SINGLETON_HOLDER_INL
#define SINGLETON_HOLDER_INL
#ifndef
__
SINGLETON_HOLDER_INL
__
#define
__
SINGLETON_HOLDER_INL
__
#include <cassert>
template
<
class T,
...
...
@@ -123,4 +124,4 @@ template < class > class M
>
bool utilspp::SingletonHolder< T, C, L, M >::mDestroyed;
#endif
#endif
// __SINGLETON_HOLDER_INL__
daemon/libs/utilspp/
T
hreading
S
ingle.hpp
→
daemon/libs/utilspp/
t
hreading
_s
ingle.hpp
View file @
16e6a3c1
...
...
@@ -21,10 +21,10 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#ifndef
SINGLE
_THREADE
D
_HPP
#define
SINGLE
_THREADE
D
_HPP
#ifndef
_
_THREAD
ING_SINGL
E_HPP
__
#define
_
_THREAD
ING_SINGL
E_HPP
__
#include
"
N
ull
T
ype.hpp"
#include
"
n
ull
_t
ype.hpp"
namespace
utilspp
{
...
...
@@ -47,6 +47,6 @@ namespace utilspp
};
}
#include
"
T
hreading
S
ingle.inl"
#include
"
t
hreading
_s
ingle.inl"
#endif
#endif
// __THREADING_SINGLE_HPP__
daemon/libs/utilspp/
T
hreading
S
ingle.inl
→
daemon/libs/utilspp/
t
hreading
_s
ingle.inl
View file @
16e6a3c1
...
...
@@ -21,8 +21,8 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#ifndef
SINGLE
_THREADE
D
_INL
#define
SINGLE
_THREADE
D
_INL
#ifndef
_
_THREAD
ING_SINGL
E_INL
__
#define
_
_THREAD
ING_SINGL
E_INL
__
template< typename T >
inline
...
...
@@ -47,4 +47,4 @@ void
utilspp::ThreadingSingle< T >::mutex::unlock()
{}
#endif
#endif
// __THREADING_SINGLE_INL__
daemon/src/manager.h
View file @
16e6a3c1
...
...
@@ -32,7 +32,7 @@
#ifndef SFLPHONE_MANAGER_H
#define SFLPHONE_MANAGER_H
#include
"utilspp/
S
ingleton.hpp"
#include
"utilspp/
s
ingleton.hpp"
#include
"managerimpl.h"
typedef
utilspp
::
SingletonHolder
<
ManagerImpl
>
Manager
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment