javauis/mmapi_akn/baseline/inc/cmmaplayer.h
branchRCL_3
changeset 21 4376525cdefb
parent 14 04becd199f91
child 24 6c158198356e
--- a/javauis/mmapi_akn/baseline/inc/cmmaplayer.h	Wed Jun 09 09:34:07 2010 +0300
+++ b/javauis/mmapi_akn/baseline/inc/cmmaplayer.h	Mon Jun 21 15:32:50 2010 +0300
@@ -72,12 +72,12 @@
     /**
      * Deletes all owned members.
      */
-    virtual ~CMMAPlayer();
+    IMPORT_C virtual ~CMMAPlayer();
 protected:
     /**
      * Initializes member variables to defaults.
      */
-    CMMAPlayer();
+    IMPORT_C CMMAPlayer();
 
     /**
      * Second phase construct.
@@ -155,7 +155,7 @@
      * Start playing. Started event will be posted. If there is no error
      * player will be in EStarted state.
      */
-    virtual void StartL() = 0;
+    virtual void StartL(TBool aPostEvent) = 0;
 
     /**
      * Stops playing. After this player may be restarted with StartL method.
@@ -181,7 +181,7 @@
      *
      * @param aDuration Duration or KTimeUnknown if not specified.
      */
-    virtual void GetDuration(TInt64* aDuration);
+    IMPORT_C virtual void GetDuration(TInt64* aDuration);
 
     /**
      * Sets media time.
@@ -225,7 +225,7 @@
      * @param aJni Used to get method ids.
      * @param aPoster Used to post events.
      */
-    virtual void SetPlayerListenerObjectL(jobject aListenerObject,
+    IMPORT_C virtual void SetPlayerListenerObjectL(jobject aListenerObject,
                                           JNIEnv* aJni,
                                           MMMAEventPoster* aPoster);
 
@@ -346,7 +346,7 @@
      *
      * @param aState New state.
      */
-    void ChangeState(TPlayerState aState);
+    IMPORT_C void ChangeState(TPlayerState aState);
 
 public: // from MMMASourceStreamListener
     virtual void ReadCompletedL(TInt aStatus, const TDesC8& aData);