dcmofw/dcmoserver/inc/dcmoserver.h
changeset 44 39aa16f3fdc2
parent 0 b497e44ab2fc
equal deleted inserted replaced
43:c8e5c3d81b42 44:39aa16f3fdc2
    19 #define __DCMO_SERVER_H__
    19 #define __DCMO_SERVER_H__
    20 
    20 
    21 // INCLUDES
    21 // INCLUDES
    22 
    22 
    23 #include <e32base.h>
    23 #include <e32base.h>
       
    24 #include <hbdevicemessageboxsymbian.h>
    24 #include "dcmoclientserver.h"
    25 #include "dcmoclientserver.h"
    25 #include "dcmoconst.h"
    26 #include "dcmoconst.h"
    26 #include "dcmonotifieraob.h"
    27 #include "dcmomessagebox.h"
       
    28 
    27 
    29 
    28 // CONSTANTS
    30 // CONSTANTS
    29 const TUid KCRUidDCMOServer={0x2001FE47};
    31 const TUid KCRUidDCMOServer={0x2001FE47};
    30 const TInt KDCMOKeyMaxNumber = 16;
    32 const TInt KDCMOKeyMaxNumber = 16;
    31 // FORWARD DECLARATIONS
    33 // FORWARD DECLARATIONS
    38 
    40 
    39 
    41 
    40 class CDCMOServer : public CServer2
    42 class CDCMOServer : public CServer2
    41 	{
    43 	{
    42 	friend class CDCMOSession;
    44 	friend class CDCMOSession;
    43 	friend class CDCMONotifierAob;
    45 	friend class CDCMOMessageBox;
    44 
    46 
    45 public:
    47 public:
    46 	/**
    48 	/**
    47 	 * Structure to hold the plug-in details
    49 	 * Structure to hold the plug-in details
    48 	 */ 
    50 	 */ 
   164 	 * Set the iStarter value
   166 	 * Set the iStarter value
   165 	 * @param aValue, ETrue if it is Starter else EFalse
   167 	 * @param aValue, ETrue if it is Starter else EFalse
   166 	 * @return 
   168 	 * @return 
   167 	 */
   169 	 */
   168 	void SetStarter(TBool aValue);	
   170 	void SetStarter(TBool aValue);	
   169 
   171 	
       
   172 	/**
       
   173 	 * Deletes the idcmoArray value if any
       
   174 	 * @param none
       
   175 	 * @return none
       
   176 	 */
       
   177 	void CleanDcmoArray();	
       
   178 	
   170 private:
   179 private:
   171 	
   180 	
   172 	/**
   181 	/**
   173 	 * Get the uid of plug-in adapter
   182 	 * Get the uid of plug-in adapter
   174 	 * @param aCategory
   183 	 * @param aCategory
   185 	
   194 	
   186 private:
   195 private:
   187 	RArray<dcmoInfoList> idcmoArray;
   196 	RArray<dcmoInfoList> idcmoArray;
   188 	static TInt iSessionCount;
   197 	static TInt iSessionCount;
   189 	TBool iStarter;	
   198 	TBool iStarter;	
   190 	CDCMONotifierAob* iNotifier;
   199 	CDCMOMessageBox* iMessageBox;
   191 	};
   200 	};
   192 	
   201 	
   193 #endif //__DCMO_SERVER_H__
   202 #endif //__DCMO_SERVER_H__