OSDN Git Service

RIO-7269: Addition of virtual destructor in the 'IDispatch' class, so that, the deriv...
authorPacketVideo CM <engbuild@pv.com>
Wed, 23 Sep 2009 23:24:25 +0000 (16:24 -0700)
committerPacketVideo CM <engbuild@pv.com>
Wed, 23 Sep 2009 23:24:25 +0000 (16:24 -0700)
android/dispatch.h
engines/2way/src/pv_2way_sdkinfo.h
engines/author/src/pv_author_sdkinfo.h
engines/player/src/pv_player_sdkinfo.h

index 2a16c34..ae4ac03 100755 (executable)
@@ -26,7 +26,7 @@ public:
      * @return
      *        Completion status
  */
-       virtual status_t invoke(const Parcel& data, Parcel& reply, PlayerExtensionCommand* cmd)=0;
+    virtual status_t invoke(const Parcel& data, Parcel& reply, PlayerExtensionCommand* cmd)=0;
 /**
      * If any engine commands were scheduled by this extension, this function will be
      * called upon completion.
@@ -39,9 +39,13 @@ public:
      *        false= let playerdriver handle standard command completion
      *        true = command was handled (e.g. FinishSyncCommand, commandFailed) and aCmd deleted
 */
-       virtual bool commandCompleted(PlayerExtensionCommand* cmd, const PVCmdResponse &resp) {
-               return false;
-       }
+    virtual bool commandCompleted(PlayerExtensionCommand* cmd, const PVCmdResponse &resp) {
+        return false;
+    }
+/**
+     * Destructor
+*/    
+    virtual ~IDispatch() {}
 };
 
 
index 48ae02a..1babcd1 100644 (file)
@@ -21,7 +21,7 @@
 // This header file is automatically generated at build-time
 // *** OFFICIAL RELEASE INFO -- Will not auto update
 
-#define PV2WAY_ENGINE_SDKINFO_LABEL "962234"
+#define PV2WAY_ENGINE_SDKINFO_LABEL "962385"
 #define PV2WAY_ENGINE_SDKINFO_DATE 0x20090914
 
 #endif //PV_2WAY_SDKINFO_H_INCLUDED
index d21aec4..0832339 100644 (file)
@@ -21,7 +21,7 @@
 // This header file is automatically generated at build-time
 // *** OFFICIAL RELEASE INFO -- Will not auto update
 
-#define PVAUTHOR_ENGINE_SDKINFO_LABEL "962234"
+#define PVAUTHOR_ENGINE_SDKINFO_LABEL "962385"
 #define PVAUTHOR_ENGINE_SDKINFO_DATE 0x20090914
 
 #endif //PV_AUTHOR_SDKINFO_H_INCLUDED
index 671e1e7..f3e02f5 100644 (file)
@@ -21,7 +21,7 @@
 // This header file is automatically generated at build-time
 // *** OFFICIAL RELEASE INFO -- Will not auto update
 
-#define PVPLAYER_ENGINE_SDKINFO_LABEL "962234"
+#define PVPLAYER_ENGINE_SDKINFO_LABEL "962385"
 #define PVPLAYER_ENGINE_SDKINFO_DATE 0x20090914
 
 #endif //PV_PLAYER_SDKINFO_H_INCLUDED