~jdong/ktorrent/ktorrent.debian

« back to all changes in this revision

Viewing changes to plugins/webinterface/httpserver.h

  • Committer: John Dong
  • Date: 2006-11-24 05:43:21 UTC
  • mfrom: (946.1.28)
  • Revision ID: john.dong@gmail.com-20061124054321-dnouhtgvqt3k3lc8
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
#include <qfile.h>
31
31
#include <qcache.h>
32
32
#include <qthread.h>
 
33
#include <qmutex.h>
33
34
#include "php_handler.h"
34
35
#include "php_interface.h"
35
36
#include <torrent/peermanager.h>
104
105
                        core=c;
105
106
                        running=false;
106
107
                        p=0;
107
 
                        //server=0;
108
108
                }
109
109
                ~ServerThread()
110
110
                {               }
111
111
                void stop();            
112
112
                void run();
113
 
                //bool ok(){return server->ok();}
114
113
                int port(){return p;}
115
114
                QMutex mutex;
116
115
        private:
117
116
                bool running;
118
117
                CoreInterface *core;
119
118
                int p;
120
 
                //QMutex mutex;
121
119
        };
122
120
 
123
121