mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-07-28 23:16:15 -04:00
39 lines
647 B
C++
39 lines
647 B
C++
// ======================================================================
|
|
//
|
|
// Gate.h
|
|
//
|
|
// Copyright 2001-2002 Sony Online Entertainment
|
|
// All Rights Reseved.
|
|
//
|
|
// ======================================================================
|
|
|
|
#ifndef INCLUDED_Gate_h
|
|
#define INCLUDED_Gate_h
|
|
|
|
// ======================================================================
|
|
|
|
class Gate
|
|
{
|
|
public:
|
|
|
|
Gate(bool initiallyOpen);
|
|
~Gate();
|
|
|
|
void wait();
|
|
|
|
void close();
|
|
void open();
|
|
|
|
private:
|
|
|
|
Gate(const Gate &o);
|
|
Gate &operator =(const Gate &o);
|
|
|
|
private:
|
|
|
|
HANDLE handle;
|
|
};
|
|
|
|
// ======================================================================
|
|
|
|
#endif |