diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-10-20 02:34:57 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-10-20 02:34:57 +0000 |
commit | 5c1001ce4f585836e1f83c28d1df89aee42fb743 (patch) | |
tree | 5967e9ca7d44ed1d2823be9746817ebb8e025f5d /ace/TTY_IO.h | |
parent | 2ae14b2b85ad813a269e8a5529aa76cf984fa8a5 (diff) | |
download | ATCD-5c1001ce4f585836e1f83c28d1df89aee42fb743.tar.gz |
changed include protection from #if !defined to ifndef, and added #pragma once, if possible
Diffstat (limited to 'ace/TTY_IO.h')
-rw-r--r-- | ace/TTY_IO.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/ace/TTY_IO.h b/ace/TTY_IO.h index ad0d8903108..82d1d25abb5 100644 --- a/ace/TTY_IO.h +++ b/ace/TTY_IO.h @@ -5,34 +5,35 @@ // // = LIBRARY // ace -// +// // = FILENAME // TTY_IO.h // // = DESCRIPTION // // = AUTHOR -// Douglas C. Schmidt -// +// Douglas C. Schmidt +// // ============================================================================ #ifndef ACE_TTY_IO_H #define ACE_TTY_IO_H #include "ace/OS.h" -#include "ace/DEV_Addr.h" -#include "ace/DEV_Connector.h" -#include "ace/DEV_IO.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) -#pragma once +# pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ +#include "ace/DEV_Addr.h" +#include "ace/DEV_Connector.h" +#include "ace/DEV_IO.h" + class ACE_Export ACE_TTY_IO : public ACE_DEV_IO { // = TITLE // Class definitions for platform specific TTY features. - // + // // = DESCRIPTION // This class represents an example interface for a specific // device (a serial line) It extends the capability of the @@ -43,7 +44,7 @@ class ACE_Export ACE_TTY_IO : public ACE_DEV_IO public: enum Control_Mode { - SETPARAMS, // Set control parameters. + SETPARAMS, // Set control parameters. GETPARAMS // Get control parameters. }; |