blob: 65f2a36f5d65f05af3c0ece65e8e10e49fe3e42f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
/* -*- C++ -*- */
// $Id$
// ===========================================================
//
// = LIBRARY
// ACE_wrappers/examples/DLL
//
// = FILENAME
// Newsweek.h
//
// = DESCRIPTION
// This is a derived class from Magazine which is a magazine
// pertaining to news and information.
//
// = AUTHOR
// Kirthika Parameswaran <kirthika@cs.wustl.edu>
//
// ===========================================================
#ifndef NEWSWEEK_H
#define NEWSWEEK_H
#include "ace/OS.h"
#include "Magazine.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
class Newsweek : public Magazine
{
//= TITLE
// This is an derived class of Magazine.
//
//= DESCRIPTION
// Polymoriphism is exploited and an object pointer
// of Magazine is bound to the Newsweek object at runtime.
public:
void title (void);
// This is the abstract class method which describes the magazine.
};
# endif /* NEWSWEEK_H */
|