00001 #ifndef __COMPLICATEDPRINTERCOMPONENT_H__
00002 #define __COMPLICATEDPRINTERCOMPONENT_H__
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 class ComplicatedPrinterComponent: public virtual classic::gov::cca::Component, public virtual classic::gov::cca::StringConsumerPort {
00017
00018 private:
00019 classic::gov::cca::Services* core;
00020 classic::gov::cca::JPrintfPort* pfp;
00021
00022 public:
00023
00024 ComplicatedPrinterComponent(){ core = 0; pfp = 0;}
00025
00026 virtual ~ComplicatedPrinterComponent(){ core = 0; pfp = 0;}
00027
00028 virtual void setServices(classic::gov::cca::Services *cc);
00029
00031 virtual void setString(const char* s);
00032
00033 };
00034 #endif // __COMPLICATEDPRINTERCOMPONENT_H__