store headers only once, refs #7
This commit is contained in:
33
actlibrary/include/actIRefCounted.h
Normal file
33
actlibrary/include/actIRefCounted.h
Normal file
@@ -0,0 +1,33 @@
|
||||
// ---------------------------------------------------------------------------
|
||||
// Name: actIRefCounted.h
|
||||
// Product: cv act library
|
||||
// Purpose: The IRefCounted interface.
|
||||
//
|
||||
// Copyright: (c) 2006 cv cryptovision GmbH
|
||||
// all rights reserved.
|
||||
// Licence: The conditions for the use of this software are regulated
|
||||
// in the cv act library licence agreement.
|
||||
//
|
||||
// Autor: Markus Tesche (MTE)
|
||||
// Date: 1/18/2006
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
#ifndef ACT_IRefCounted_h
|
||||
#define ACT_IRefCounted_h
|
||||
|
||||
namespace act
|
||||
{
|
||||
//
|
||||
// IRefCounted, methods for reference counting.
|
||||
class IRefCounted
|
||||
{
|
||||
public:
|
||||
virtual ~IRefCounted() { }
|
||||
|
||||
virtual void AddRef() = 0;
|
||||
virtual void Release() = 0;
|
||||
};
|
||||
|
||||
} // namespace act
|
||||
|
||||
#endif // ACT_IRefCounted_h
|
Reference in New Issue
Block a user