zeroconfservicetype.h
00001 #ifndef __ZEROCONFSERVICETYPE_H__
00002 #define __ZEROCONFSERVICETYPE_H__
00003
00004 #include <e32base.h>
00005 #include <zeroconf/zeroconfprotocols.h>
00006
00007 class RReadStream;
00008
00009 namespace Zeroconf
00010 {
00011
00021 class CServiceType : public CBase
00022 {
00023 public:
00032 IMPORT_C static CServiceType* NewLC(RReadStream& aReadStream);
00033
00042 IMPORT_C const TDesC& ServiceTypeName() const;
00043
00052 IMPORT_C TServiceProtocol ServiceProtocol() const;
00053
00063 IMPORT_C const TDesC& FullyQualifiedName() const;
00064
00071 IMPORT_C ~CServiceType();
00072
00073 protected:
00080 IMPORT_C CServiceType();
00081
00082 private:
00083 void ConstructL(RReadStream& aReadStream);
00084
00085 protected:
00086 HBufC* iTypeName;
00087 TServiceProtocol iProtocol;
00088 HBufC* iFullyQualifiedName;
00089 };
00090
00091 }
00092
00093 #endif