Revision e118c57b include/clock.h

View differences:

include/clock.h
11 11
//==========================================================================
12 12

  
13 13
/*--------------------------------------------------------------*
14
  Copyright (C) 2011 Simon Tenbusch
14
 Copyright (C) 2011 Simon Tenbusch
15 15

  
16
  This file is distributed WITHOUT ANY WARRANTY. See the file
17
  `license' for details on this and other legal matters.
18
*--------------------------------------------------------------*/
16
 This file is distributed WITHOUT ANY WARRANTY. See the file
17
 `license' for details on this and other legal matters.
18
 *--------------------------------------------------------------*/
19 19

  
20 20
#ifndef CLOCK_H_
21 21
#define CLOCK_H_
22 22

  
23 23
#include "simkerneldefs.h"
24 24

  
25
class cLock {
25
class cLock
26
{
26 27
public:
27
	    /*
28
	     * Locks the lock
29
	     */
30
	    virtual void lock() { }
31

  
32
	    /*
33
	     * Unlocks the lock
34
	     */
35
	    virtual void unlock() { }
28
    /*
29
     * Locks the lock
30
     */
31
    virtual void lock() = 0;
32
    /*
33
     * Unlocks the lock
34
     */
35
    virtual void unlock() = 0;
36 36

  
37 37
};
38 38

  

Also available in: Unified diff