multimediacommsengine/mmcecli/inc/mcefactory.h
branchrcs
changeset 49 64c62431ac08
parent 0 1bce908db942
equal deleted inserted replaced
44:fb024d5e35fa 49:64c62431ac08
    31 #include "mcevideocodec.h"
    31 #include "mcevideocodec.h"
    32 #include "mcecomsession.h"
    32 #include "mcecomsession.h"
    33 #include "mcedefs.h"
    33 #include "mcedefs.h"
    34 #include "mceclientserver.h"
    34 #include "mceclientserver.h"
    35 #include "mcecomserializationcontext.h"
    35 #include "mcecomserializationcontext.h"
       
    36 #include "mcemessagecodec.h"
    36 
    37 
    37 class CMceMediaSource;
    38 class CMceMediaSource;
    38 class CMceMediaSink;
    39 class CMceMediaSink;
    39 class CMceSession;
    40 class CMceSession;
    40 class CMceMsgBase;
    41 class CMceMsgBase;
   102 
   103 
   103     CMceVideoCodec* CreateLC( MMceComSerializationContext& aSerCtx );	
   104     CMceVideoCodec* CreateLC( MMceComSerializationContext& aSerCtx );	
   104 
   105 
   105 	};
   106 	};
   106 
   107 
       
   108 class TMceMessageCodecFactory
       
   109 	{
       
   110 
       
   111 public:
       
   112     
       
   113     CMceMessageCodec* CreateL( TBuf8<KMceMaxSdpNameLength> aSdpName );	
       
   114     
       
   115     CMceMessageCodec* CreateLC( TBuf8<KMceMaxSdpNameLength> aSdpName );
       
   116 
       
   117     CMceMessageCodec* CreateLC( MMceComSerializationContext& aSerCtx );	
       
   118 
       
   119 	};
       
   120 
       
   121 
       
   122 
   107 class TMceFactory
   123 class TMceFactory
   108     {
   124     {
   109     
   125     
   110 public:
   126 public:
   111     
   127     
   144         }
   160         }
   145         
   161         
   146     inline TMceVideoCodecFactory VideoCodecFactory()
   162     inline TMceVideoCodecFactory VideoCodecFactory()
   147         {
   163         {
   148         return TMceVideoCodecFactory();
   164         return TMceVideoCodecFactory();
   149         }   
   165         }
       
   166     
       
   167     inline TMceMessageCodecFactory MessageCodecFactory()
       
   168         {
       
   169         return TMceMessageCodecFactory();
       
   170         }    
       
   171 
   150    	TInt iDummy; 
   172    	TInt iDummy; 
   151     };
   173     };
   152 
   174 
   153 
   175 
   154 #endif 
   176 #endif