zeroconfserviceparam.h

00001 #ifndef __ZEROCONFSERVICEPARAM_H__
00002 #define __ZEROCONFSERVICEPARAM_H__
00003 
00004 #include <e32base.h>
00005 
00006 class RReadStream;
00007 
00008 namespace Zeroconf
00009         {
00010         
00019         class CServiceParam : public CBase
00020                 {
00021         public:
00029                 IMPORT_C static CServiceParam* NewLC(RReadStream& aStream);
00030         
00038                 IMPORT_C const TDesC& Name();
00039                 
00047                 IMPORT_C const TDesC& Value();
00048                 
00055                 IMPORT_C ~CServiceParam();
00056         protected:
00063                 IMPORT_C CServiceParam();
00064                 
00065         private:
00066                 void ConstructL(RReadStream& aReadStream);
00067                 
00068         protected:
00069                 HBufC* iName;
00070                 HBufC* iValue;
00071                 };
00072         
00073         }
00074 
00075 #endif /* __ZEROCONFSERVICEPARAM_H__ */