00001 /* 00002 * ============================================================================== 00003 * Name : sensrvchannelconditionset.h 00004 * Interface : Sensor Channel API 00005 * Description : Channel condition set object 00006 * Version : %version: 2.1.1 % 00007 * 00008 * Copyright © 2008 Nokia. All rights reserved. 00009 * This material, including documentation and any related computer 00010 * programs, is protected by copyright controlled by Nokia. All 00011 * rights are reserved. Copying, including reproducing, storing, 00012 * adapting or translating, any or all of this material requires the 00013 * prior written consent of Nokia. This material also contains 00014 * confidential information which may not be disclosed to others 00015 * without the prior written consent of Nokia. 00016 * ============================================================================ 00017 * Template version: 4.1 00018 */ 00019 00020 00021 #ifndef SENSRVCHANNELCONDITIONSET_H 00022 #define SENSRVCHANNELCONDITIONSET_H 00023 00024 #include <e32base.h> 00025 #include <sensrvchannelcondition.h> 00026 00027 // FORWARD DECLARATIONS 00028 00029 class CSensrvChannelConditionSet; 00030 00031 // DATA TYPES 00032 00036 typedef RPointerArray<CSensrvChannelConditionSet> RSensrvChannelConditionSetList; 00037 00043 enum TSensrvConditionSetType 00044 { 00046 ESensrvOrConditionSet = 0, 00048 ESensrvAndConditionSet 00049 }; 00050 00051 00074 NONSHARABLE_CLASS( CSensrvChannelConditionSet ): public CBase 00075 { 00076 public: 00086 IMPORT_C static CSensrvChannelConditionSet* NewL 00087 ( TSensrvConditionSetType aConditionSetType ); 00088 00098 IMPORT_C static CSensrvChannelConditionSet* NewLC 00099 ( TSensrvConditionSetType aConditionSetType ); 00100 00101 public: 00102 00108 virtual TSensrvConditionSetType ConditionSetType() const = 0; 00109 00133 virtual void AddChannelConditionL 00134 ( CSensrvChannelCondition* aChannelCondition ) = 0; 00135 00144 virtual const RSensrvChannelConditionList& AllConditions() const = 0; 00145 00146 public: 00150 CSensrvChannelConditionSet(); 00151 }; 00152 00153 00154 #endif //SENSRVCHANNELCONDITIONSET_H 00155 00156 // End of File 00157 00158