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