summaryrefslogtreecommitdiff
path: root/ace/TTY_IO.h
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-20 02:34:57 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-20 02:34:57 +0000
commit0902828269fb1a42ed23c208fd61bac76aaddc13 (patch)
tree5967e9ca7d44ed1d2823be9746817ebb8e025f5d /ace/TTY_IO.h
parente7788cff873f30e65d44d38db7cfafc175f748a3 (diff)
downloadATCD-0902828269fb1a42ed23c208fd61bac76aaddc13.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.h19
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.
};