diff -r 35baca0e7a2e -r 023eef975703 javauis/mmapi_qt/baseline/inc/cmmadisplay.h --- a/javauis/mmapi_qt/baseline/inc/cmmadisplay.h Tue Jul 06 20:36:19 2010 +0300 +++ b/javauis/mmapi_qt/baseline/inc/cmmadisplay.h Fri Jul 09 16:35:45 2010 +0300 @@ -50,7 +50,7 @@ // Default constructor, protected to allow derivation CMMADisplay(); - void Construct(MMAFunctionServer* eventSource ,jobject javadisplayref); + void Construct(MMAFunctionServer* eventSource ,JNIEnv* aJni, jobject javadisplayref); public: // Methods derived from MMMADisplay void DrawFrameL(const CFbsBitmap* aBitmap); @@ -66,7 +66,8 @@ void SetUIPlayer(MMMAGuiPlayer* player); TSize SourceSize(); virtual void SourceSizeChanged(TInt aJavaControlWidth, TInt aJavaControlHeight,TInt x,TInt y, TRect aBoundsRect) = 0; - + TBool iseSWT(); + void SetFullscreenSize(TSize& aSize); /** * Gets notification that there is container to draw assigned * @@ -267,9 +268,19 @@ MMAFunctionServer* iEventSource; JNIEnv* iJni; jobject iJavaDisplayObject; - jclass iJavaDisplayClass; - TSize iFullScreenSize; - MMMAGuiPlayer* iUiPlayer; + jclass iJavaDisplayClass; + TSize iFullScreenSize; + MMMAGuiPlayer* iUiPlayer; + TBool iIseSWT; + jmethodID setRectID; + jfieldID iRectDimensionField; + jfieldID iDisplayboundarrField; + jmethodID setContentBoundID; + jmethodID removeContentBoundID; + jmethodID redrawControlID; + jmethodID getCallBackMethodID; + jobject iJavadisplayref; + jmethodID getBoundRectID; }; #endif // CMMADISPLAY_H