gloox
1.1-svn
Main Page
Related Pages
Namespaces
Classes
Files
File List
src
thread.h
1
/*
2
Copyright (c) 2009 by Jakob Schroeter <js@camaya.net>
3
This file is part of the gloox library. http://camaya.net/gloox
4
5
This software is distributed under a license. The full license
6
agreement can be found in the file LICENSE in this distribution.
7
This software may not be copied, modified, sold or distributed
8
other than expressed in the named license agreement.
9
10
This software is distributed without any warranty.
11
*/
12
13
14
#ifndef THREAD_H__
15
#define THREAD_H__
16
17
#include "config.h"
18
19
#include "macros.h"
20
21
namespace
gloox
22
{
23
24
namespace
util
25
{
26
33
class
GLOOX_API
Thread
34
{
35
public
:
39
Thread
();
40
44
virtual
~
Thread
();
45
49
void
start();
50
54
void
join();
55
56
protected
:
61
virtual
void
run() = 0;
62
63
private
:
64
class
ThreadImpl;
65
friend
class
ThreadImpl;
66
67
Thread
& operator=(
const
Thread
& );
68
69
ThreadImpl* m_impl;
70
71
};
72
73
}
74
75
}
76
77
#endif // THREAD_H__
Generated on Thu Jun 27 2013 13:43:27 for gloox by
1.8.1.2