kwave  18.07.70
GlobalLock.h
Go to the documentation of this file.
1 /***************************************************************************
2  GlobalLock.h - application global lock
3  -------------------
4  begin : Jan 02 2014
5  copyright : (C) 2014 by Thomas Eschenbacher
6  email : Thomas Eschenbacher <thomas.eschenbacher@gmx.de>
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef GLOBAL_LOCK_H
19 #define GLOBAL_LOCK_H
20 
21 #include "config.h"
22 
23 #include <QtGlobal>
24 #include <QMutex>
25 
26 namespace Kwave {
27 
33  class Q_DECL_EXPORT GlobalLock
34  {
35  public:
37  GlobalLock();
38 
40  virtual ~GlobalLock();
41 
42  private:
44  static QMutex m_global_lock;
45  };
46 }
47 
48 #endif /* GLOBAL_LOCK_H */
49 
50 //*****************************************************************************
51 //*****************************************************************************
static QMutex m_global_lock
Definition: GlobalLock.h:44
Definition: App.h:33