00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef SENSRVCHANNELINFO_H
00022 #define SENSRVCHANNELINFO_H
00023
00024 #include <e32base.h>
00025 #include <sensrvtypes.h>
00035 NONSHARABLE_CLASS( TSensrvChannelInfo )
00036 {
00037 public:
00038
00044 IMPORT_C TSensrvChannelInfo();
00045
00062 IMPORT_C TSensrvChannelInfo( TInt aContextType,
00063 TInt aQuantity,
00064 TSensrvChannelTypeId aChannelType,
00065 const TDesC8& aLocation,
00066 const TDesC8& aVendorId,
00067 TSensrvChannelDataTypeId aChannelDataTypeId );
00068
00084 IMPORT_C TSensrvChannelInfo( TSensrvChannelId aChannelId,
00085 TInt aContextType,
00086 TInt aQuantity,
00087 TSensrvChannelTypeId aChannelType,
00088 const TDesC8& aLocation,
00089 const TDesC8& aVendorId,
00090 TInt aDataItemSize,
00091 TSensrvChannelDataTypeId aChannelDataTypeId );
00092
00099 IMPORT_C TSensrvChannelInfo( const TSensrvChannelInfo& aChannelInfo );
00100
00101 public:
00102
00111 IMPORT_C TBool IsMatch( const TSensrvChannelInfo &aInfo ) const;
00112
00120 IMPORT_C TBool IsComplete() const;
00121
00122 public:
00126 TSensrvChannelId iChannelId;
00127
00132 TInt iContextType;
00133
00138 TInt iQuantity;
00139
00146 TSensrvChannelTypeId iChannelType;
00147
00151 TBuf8<KSensrvLocationLength> iLocation;
00152
00157 TBuf8<KSensrvVendorIdLength> iVendorId;
00158
00162 TInt iDataItemSize;
00163
00164 private:
00165 TInt iReserved3;
00166
00167 public:
00172 TSensrvChannelDataTypeId iChannelDataTypeId;
00173
00174 private:
00175 TInt iReserved;
00176 TInt iReserved2;
00177 };
00178
00179
00180
00181 #endif // SENSRVCHANNELINFO_H