00001
#if !defined(__PREBANNER_HPP)
00002
#define __PREBANNER_HPP
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
#if !defined(__COMMON_HPP)
00025
#include <Common.hpp>
00026
#endif
00027
00028
#if !defined(__DECORATOR_HPP)
00029
#include <Decorator.hpp>
00030
#endif
00031
00032
#if !defined(__BANNERCOMPONENT_HPP)
00033
#include <BannerComponent.hpp>
00034
#endif
00035
00041 DECLARE_CLASS( PreBanner );
00042
00043
class PreBanner :
public BannerComponent,
00044
public CORELINUX(Decorator<BannerComponentPtr>)
00045 {
00046
public:
00047
00048
00049
00050
00058 PreBanner(
const string &,BannerComponentPtr );
00059
00066 PreBanner( PreBannerCref );
00067
00069
00070
virtual ~PreBanner(
void );
00071
00079 PreBannerRef
operator=( PreBannerCref );
00080
00087
bool operator==( PreBannerCref ) const;
00088
00089
00090
00091
00092
00098 virtual string getBanner(
void ) const;
00099
00106 virtual
void drawBanner
00107 (
00108 ostream &aStream ,
00109
bool doEndl=false
00110 ) const;
00111
00112
00113 protected:
00114
00120 PreBanner(
void )
00121 throw(CORELINUX(Exception));
00122
00123
00124 };
00125
00126 #endif
00127
00128
00129
00130
00131
00132
00133
00134
00135
00136