~noskcaj/ubuntu/saucy/sflphone/merge-1.2.3-2

« back to all changes in this revision

Viewing changes to daemon/src/eventthread.h

  • Committer: Package Import Robot
  • Author(s): Francois Marier
  • Date: 2012-02-18 21:47:09 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20120218214709-6362d71gqdsdkrj5
Tags: 1.0.2-1
* New upstream release
  - remove logging patch (applied upstream)
  - update s390 patch since it was partially applied upstream
* Include the Evolution plugin as a separate binary package

* Fix compilation issues on SH4 (closes: #658987)
* Merge Ubuntu's binutils-gold linking fix

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
 *  as that of the covered work.
29
29
 */
30
30
 
31
 
#ifndef __EVENT_THREAD_H__
32
 
#define __EVENT_THREAD_H__
 
31
#ifndef EVENT_THREAD_H_
 
32
#define EVENT_THREAD_H_
33
33
 
34
34
#include <cc++/thread.h>
35
35
#include "noncopyable.h"
38
38
 
39
39
/**
40
40
 * @file eventthread.h
41
 
 * @brief General thread to listen events continuously
 
41
 * @brief Thread which listens to VoIP events continuously
42
42
 */
43
43
 
44
44
class EventThread : public ost::Thread {
45
45
    public:
46
46
        EventThread(VoIPLink* link);
47
 
 
48
 
        ~EventThread() {
49
 
            terminate();
50
 
        }
51
 
 
52
 
        virtual void run() ;
 
47
        ~EventThread();
 
48
        virtual void run();
53
49
 
54
50
    private:
55
51
        NON_COPYABLE(EventThread);
56
 
 
57
52
        // VoIPLink is the object being called by getEvents() method
58
 
        VoIPLink*       link_;
 
53
        VoIPLink* link_;
59
54
};
60
55
 
61
 
#endif // __EVENT_THREAD_H__
 
56
#endif // EVENT_THREAD_H__