source:
CMT/v1r10p20011126/src/cmt_lock.h
@
1
Last change on this file since 1 was 1, checked in by , 19 years ago | |
---|---|
File size: 301 bytes |
Line | |
---|---|
1 | #ifndef __cmt_lock_h__ |
2 | #define __cmt_lock_h__ |
3 | |
4 | class CmtLock |
5 | { |
6 | public: |
7 | typedef enum |
8 | { |
9 | locked_by_user, |
10 | locked_by_another_user, |
11 | not_locked, |
12 | still_locked, |
13 | still_unlocked |
14 | } status; |
15 | |
16 | static status lock (); |
17 | static status unlock (); |
18 | static status check (); |
19 | }; |
20 | |
21 | #endif |
Note: See TracBrowser
for help on using the repository browser.