// -*- c++ -*- #include #include // Object Slot Test // Written by Karl Nelson and assigned to the Public Domain. // This code should compile with no errors of warnings #ifdef SIGC_CXX_NAMESPACES using namespace std; using namespace SigC; #endif class MyObject: public Object { public: void foo1() {cout<<"foo1"< slot1; Slot0 slot2; Slot1 slot3; Slot1 slot4; {MyObject my; cout <<">> Connecting slots"<> Calling slots"<> Deleting Object"<> Calling Slots again (does nothing)"<> Success"<