#include <sigc++/sigc++.h>#include <sigc++/chain.h>#include <iostream>Go to the source code of this file.
Classes | |
| class | C |
| class | B |
| class | A |
| class | Main |
Functions | |
| int | main (int argc, char *argv[]) |
Variables | |
| Signal0< void > | global_sig |
|
||||||||||||
|
Definition at line 74 of file test-conn.cc. References C::sig. 00075 {
00076 if (argc != 4) {
00077 cerr << "usage: test-conn <saveconnnection> <do-disconnect> <do-global-sig>\n";
00078 cerr << "eg: test-con t t f\n";
00079 return 1;
00080 }
00081
00082 bool one = (argv[1][0] == 't');
00083 bool two = (argv[2][0] == 't');
00084 bool three = (argv[3][0] == 't');
00085
00086 Main* m = new Main(one,two,three);
00087 delete m;
00088
00089 cerr << "Making a C\n";
00090 C* c = new C;
00091 cerr << ".. made\n";
00092 c->sig.emit();
00093
00094 return 0;
00095 } // end of main()
|
|
|
Definition at line 9 of file test-conn.cc. Referenced by Main::Main(). |
1.3.9.1