summaryrefslogtreecommitdiff
path: root/ACE/examples/DLL/Magazine.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/examples/DLL/Magazine.h')
-rw-r--r--ACE/examples/DLL/Magazine.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/ACE/examples/DLL/Magazine.h b/ACE/examples/DLL/Magazine.h
new file mode 100644
index 00000000000..6555974494f
--- /dev/null
+++ b/ACE/examples/DLL/Magazine.h
@@ -0,0 +1,42 @@
+/* -*- C++ -*- */
+// $Id$
+
+// ===========================================================
+//
+//
+// = LIBRARY
+// ACE_wrappers/examples/DLL
+//
+// = FILENAME
+// Magazine.h
+//
+// = DESCRIPTION
+// Abstract class whose methods are implemented by the derived
+// classes.
+//
+// = AUTHOR
+// Kirthika Parameswaran <kirthika@cs.wustl.edu>
+//
+// ===========================================================
+
+#ifndef MAGAZINE_H
+#define MAGAZINE_H
+
+class Magazine
+{
+ // = TITLE
+ // This is an abstract class used in the DLL example.
+ //
+ // = DESCRIPTION
+ // This class simply is an inetrface which the derived classes
+ // will exploit.
+public:
+
+ virtual ~Magazine (void) {};
+ // No-op virtual destructor.
+
+ virtual void title (void) = 0;
+ // This method gives the title of the magazine.
+};
+
+#endif /* MAGAZINE_H */