libiqxmlrpc  0.12.4
 All Classes Namespaces Files Functions Typedefs Enumerations
lock.h
1 // Libiqxmlrpc - an object-oriented XML-RPC solution.
2 // Copyright (C) 2011 Anton Dedov
3 
4 #ifndef _libiqnet_lock_h_
5 #define _libiqnet_lock_h_
6 
7 #include "api_export.h"
8 
9 namespace iqnet
10 {
11 
13 class LIBIQXMLRPC_API Null_lock {
14 public:
15  struct scoped_lock {
17  ~scoped_lock() {}
18 
19  void lock() {}
20  void unlock() {}
21  };
22 
23  void lock() {}
24  void unlock() {}
25 };
26 
27 } // namespace iqnet
28 
29 #endif