now compiles and is back to a functional state!

This commit is contained in:
swaits committed 2010-10-04 15:59:09 -07:00
1 parent 9043e38ef2
commit 0b396aede9
21 files changed
+109 -114

No files matched your search

+5 -5
View File
@@ -15,7 +15,7 @@
// Abstract base class for slots with 0 parameter(s).
//
template<typename T_return>
class slot0 : public slot_base
class slot0: public slot_base
{
public:
/**
@@ -164,7 +164,7 @@ class signal0: public signal_base
typedef T_return (*FUNCTION_POINTER)();
// connect to normal functions
bool Connect( FUNCTION_POINTER func )
bool connect( FUNCTION_POINTER func )
{
// make a copy of the slot to store in our list
slot0<T_return>* sNewFunc = new slot0_function<T_return>( func );
@@ -175,7 +175,7 @@ class signal0: public signal_base
// connect to an object's method
template <class T_object, typename T_member>
bool Connect(T_object* p_object, T_member p_member)
bool connect(T_object* p_object, T_member p_member)
{
// make a copy of the slot to store in our list
slot0<T_return>* sNewMethod = new slot0_method<T_object,T_member,T_return>( p_object, p_member );
@@ -190,7 +190,7 @@ class signal0: public signal_base
//
// disconnect from a normal function
bool Disconnect( FUNCTION_POINTER func )
bool disconnect( FUNCTION_POINTER func )
{
// make a temporary slot we can use to find a match in the list
slot0_function<T_return> sTest( func );
@@ -201,7 +201,7 @@ class signal0: public signal_base
// disconnect from an object's method
template <class T_object, typename T_member>
bool Disconnect(T_object* p_object, T_member p_member)
bool disconnect(T_object* p_object, T_member p_member)
{
// make a temporary slot we can use to find a match in the list
slot0_method<T_object,T_member,T_return> sTemp(p_object,p_member);