~ubuntu-branches/ubuntu/karmic/gnomoradio/karmic

« back to all changes in this revision

Viewing changes to rainbow/http-server.h

  • Committer: Bazaar Package Importer
  • Author(s): Riccardo Setti
  • Date: 2004-11-11 17:38:34 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20041111173834-y7bu0ymimw53e0ls
Tags: 0.15.1-2
Correct depends field.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
{
30
30
        class HubClient;
31
31
 
32
 
        class HttpServer : public SigC::Object
 
32
        class HttpServer : public sigc::trackable
33
33
        {
34
34
        public:
35
35
                HttpServer (HubClient *hubclient);
39
39
                void stop ();
40
40
 
41
41
        private:
42
 
                struct ServerThread : public SigC::Object
 
42
                struct ServerThread : public sigc::trackable
43
43
                {
44
44
                        ServerThread (int _fd, HttpServer *_server)
45
45
                                : fd(_fd),
46
46
                                  this_exists(true),
47
47
                                  server(_server)
48
 
                                { dispatch_request_done.connect(SigC::slot(*this, &ServerThread::on_dispatch_done)); }
 
48
                                { dispatch_request_done.connect(sigc::mem_fun(*this, &ServerThread::on_dispatch_done)); }
49
49
                        int fd;
50
50
                        Glib::Mutex mutex; // for accessing this_exists
51
51
                        bool this_exists;