You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
565 B
39 lines
565 B
/*++
|
|
|
|
Copyright (c) 2001, Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
boolean.h
|
|
|
|
Abstract:
|
|
|
|
This file defines the CBoolean Interface Class.
|
|
|
|
Author:
|
|
|
|
Revision History:
|
|
|
|
Notes:
|
|
|
|
--*/
|
|
|
|
#ifndef _BOOLEAN_H_
|
|
#define _BOOLEAN_H_
|
|
|
|
class CBoolean
|
|
{
|
|
public:
|
|
CBoolean() { m_flag = FALSE; }
|
|
|
|
|
|
void SetFlag() { m_flag = TRUE; }
|
|
void ResetFlag() { m_flag = FALSE; }
|
|
BOOL IsSetFlag() { return m_flag; }
|
|
BOOL IsResetFlag() { return ! m_flag; }
|
|
|
|
private:
|
|
BOOL m_flag : 1;
|
|
};
|
|
|
|
#endif // _BOOLEAN_H_
|