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
|
/* -*- C++ -*- */
//=============================================================================
/**
* @file Magazine.h
*
* $Id: Magazine.h 93639 2011-03-24 13:32:13Z johnnyw $
*
* 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
*
* @brief This is an abstract class used in the DLL example.
*
* This class simply is an inetrface which the derived classes
* will exploit.
*/
class Magazine
{
public:
/// No-op virtual destructor.
virtual ~Magazine (void) {};
/// This method gives the title of the magazine.
virtual void title (void) = 0;
};
#endif /* MAGAZINE_H */
|