javauis/mmapi_qt/baseline/inc/cmmavideocontrol.h
changeset 47 f40128debb5d
parent 26 dc7c549001d5
equal deleted inserted replaced
35:85266cc22c7f 47:f40128debb5d
   100      * @param aVideoControl Used video control.
   100      * @param aVideoControl Used video control.
   101      * @param aContentHandle Will contain handle to MMMADirectContent
   101      * @param aContentHandle Will contain handle to MMMADirectContent
   102      * @param aDeleteRefEvent Event posted in the destructor.
   102      * @param aDeleteRefEvent Event posted in the destructor.
   103      */
   103      */
   104     static void StaticInitDynamicModeL(CMMAVideoControl* aVideoControl,
   104     static void StaticInitDynamicModeL(CMMAVideoControl* aVideoControl,
       
   105                                        JNIEnv* aJni,
   105                                        TInt* aContentHandle,
   106                                        TInt* aContentHandle,
   106                                        MMAFunctionServer* aEventSource,
   107                                        MMAFunctionServer* aEventSource,
   107                                        jobject aGUIObject,
   108                                        jobject aGUIObject,
   108                                        CMMAEvent* aDeleteRefEvent);
   109                                        CMMAEvent* aDeleteRefEvent);
   109 
   110 
   169 //    void HandleResourceChangeL(TInt /*aType*/);
   170 //    void HandleResourceChangeL(TInt /*aType*/);
   170 
   171 
   171 private:
   172 private:
   172 
   173 
   173     void SetForeground(TBool aForeground, TBool aUseEventServer);
   174     void SetForeground(TBool aForeground, TBool aUseEventServer);
   174 
   175     
       
   176 public:
       
   177     
       
   178     enum TDisplaytype
       
   179     {
       
   180         EDISPLAY_CANVAS=0,
       
   181         EDISPLAY_VIDEOITEM=1,
       
   182         EDISPLAY_ESWT=2
       
   183     };
       
   184     
   175 protected:
   185 protected:
   176     /**
   186     /**
   177      * Not owned.
   187      * Not owned.
   178      */
   188      */
   179     MMMAEventPoster* iEventPoster;
   189     MMMAEventPoster* iEventPoster;