]> granicus.if.org Git - handbrake/commitdiff
Remove unused hb_get_scancount function
authorritsuka <damiog@gmail.com>
Sun, 29 Mar 2015 07:02:00 +0000 (07:02 +0000)
committerritsuka <damiog@gmail.com>
Sun, 29 Mar 2015 07:02:00 +0000 (07:02 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7026 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/hb.c
libhb/hb.h
win/CS/HandBrake.ApplicationServices/Interop/HbLib/HbFunctions.cs

index 84347d768efc4064bb6a5d8dd96e36eacd0e30fd..be4d75b9b5f98544ee7254af76ab42f026be3018 100644 (file)
@@ -1540,15 +1540,6 @@ void hb_get_state2( hb_handle_t * h, hb_state_t * s )
     hb_unlock( h->state_lock );
 }
 
-/**
- * Called in MacGui in UpdateUI to check
- *  for a new scan being completed to set a new source
- */
-int hb_get_scancount( hb_handle_t * h)
- {
-     return h->scanCount;
- }
-
 /**
  * Closes access to libhb by freeing the hb_handle_t handle ontained in hb_init.
  * @param _h Pointer to handle to hb_handle_t.
index cb53d0d9d6a467c8c6811736ea8ed9d677f45d76..739f16b3fc0ed44c49ae9460b07334c0a0a71539 100644 (file)
@@ -117,9 +117,6 @@ hb_interjob_t * hb_interjob_get( hb_handle_t * );
    Look at test/test.c to see how to use it. */
 void hb_get_state( hb_handle_t *, hb_state_t * );
 void hb_get_state2( hb_handle_t *, hb_state_t * );
-/* hb_get_scancount() is called by the MacGui in UpdateUI to
-   check for a new scan during HB_STATE_WORKING phase  */
-int hb_get_scancount( hb_handle_t * );
 
 /* hb_close()
    Aborts all current jobs if any, frees memory. */
index dab5d1bb3c7394404af30f8d599d653c3f2fb39b..d22545c1ee41b864bbc02301270c5f2686d3186c 100644 (file)
@@ -136,12 +136,6 @@ namespace HandBrake.ApplicationServices.Interop.HbLib
         public static extern void hb_stop(IntPtr hbHandle);\r
 \r
 \r
-        /// Return Type: int\r
-        ///param0: hb_handle_t*\r
-        [DllImport("hb.dll", EntryPoint = "hb_get_scancount", CallingConvention = CallingConvention.Cdecl)]\r
-        public static extern int hb_get_scancount(IntPtr hbHandle);\r
-\r
-\r
         /// Return Type: void\r
         ///param0: hb_handle_t**\r
         [DllImport("hb.dll", EntryPoint = "hb_close", CallingConvention = CallingConvention.Cdecl)]\r