Skip to content

Commit

Permalink
Working with libtorrent-trunk (not working).
Browse files Browse the repository at this point in the history
  • Loading branch information
aldenml committed Feb 25, 2015
1 parent 6f5283c commit a36b2e9
Show file tree
Hide file tree
Showing 266 changed files with 25,081 additions and 32,717 deletions.
2 changes: 1 addition & 1 deletion build/build_macosx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ CXX=clang++
CXXFLAGS="-stdlib=libc++ -std=c++11 -O3"
DEFINES="-DNDEBUG=1 -DBOOST_ASIO_SEPARATE_COMPILATION=1 -DTORRENT_USE_ABSOLUTE_TIME=1 -DTORRENT_DISABLE_GEO_IP=1 -DTORRENT_NO_DEPRECATE=1"
INCLUDES="-I$BOOST_ROOT -I$LIBTORRENT_ROOT/include -I$JDK_INCLUDE_1 -I$JDK_INCLUDE_2"
LIBS="-ltorrent -lboost_system -lboost_chrono -lboost_date_time -lboost_thread"
LIBS="-ltorrent_trunk -lboost_system -lboost_chrono -lboost_date_time -lboost_thread"
LDFLAGS="-L$LIBTORRENT_LIBS"
TARGET="libjlibtorrent.dylib"

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.5
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */

package com.frostwire.jlibtorrent.swig;

public class SWIGTYPE_p_block_cache_reference {
private long swigCPtr;

protected SWIGTYPE_p_block_cache_reference(long cPtr, boolean futureUse) {
swigCPtr = cPtr;
}

protected SWIGTYPE_p_block_cache_reference() {
swigCPtr = 0;
}

protected static long getCPtr(SWIGTYPE_p_block_cache_reference obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}

26 changes: 26 additions & 0 deletions src/com/frostwire/jlibtorrent/swig/SWIGTYPE_p_bool.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.5
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */

package com.frostwire.jlibtorrent.swig;

public class SWIGTYPE_p_bool {
private long swigCPtr;

protected SWIGTYPE_p_bool(long cPtr, boolean futureUse) {
swigCPtr = cPtr;
}

protected SWIGTYPE_p_bool() {
swigCPtr = 0;
}

protected static long getCPtr(SWIGTYPE_p_bool obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.5
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */

package com.frostwire.jlibtorrent.swig;

public class SWIGTYPE_p_boost__arrayT_char_4_std__numeric_limitsT_boost__int64_t_t__digits10_t {
private long swigCPtr;

protected SWIGTYPE_p_boost__arrayT_char_4_std__numeric_limitsT_boost__int64_t_t__digits10_t(long cPtr, boolean futureUse) {
swigCPtr = cPtr;
}

protected SWIGTYPE_p_boost__arrayT_char_4_std__numeric_limitsT_boost__int64_t_t__digits10_t() {
swigCPtr = 0;
}

protected static long getCPtr(SWIGTYPE_p_boost__arrayT_char_4_std__numeric_limitsT_boost__int64_t_t__digits10_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.5
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */

package com.frostwire.jlibtorrent.swig;

public class SWIGTYPE_p_boost__asio__ip__address_v4__bytes_type {
private long swigCPtr;

protected SWIGTYPE_p_boost__asio__ip__address_v4__bytes_type(long cPtr, boolean futureUse) {
swigCPtr = cPtr;
}

protected SWIGTYPE_p_boost__asio__ip__address_v4__bytes_type() {
swigCPtr = 0;
}

protected static long getCPtr(SWIGTYPE_p_boost__asio__ip__address_v4__bytes_type obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.5
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */

package com.frostwire.jlibtorrent.swig;

public class SWIGTYPE_p_boost__asio__ip__address_v6__bytes_type {
private long swigCPtr;

protected SWIGTYPE_p_boost__asio__ip__address_v6__bytes_type(long cPtr, boolean futureUse) {
swigCPtr = cPtr;
}

protected SWIGTYPE_p_boost__asio__ip__address_v6__bytes_type() {
swigCPtr = 0;
}

protected static long getCPtr(SWIGTYPE_p_boost__asio__ip__address_v6__bytes_type obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.5
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */

package com.frostwire.jlibtorrent.swig;

public class SWIGTYPE_p_boost__chrono__high_resolution_clock__time_point {
private long swigCPtr;

protected SWIGTYPE_p_boost__chrono__high_resolution_clock__time_point(long cPtr, boolean futureUse) {
swigCPtr = cPtr;
}

protected SWIGTYPE_p_boost__chrono__high_resolution_clock__time_point() {
swigCPtr = 0;
}

protected static long getCPtr(SWIGTYPE_p_boost__chrono__high_resolution_clock__time_point obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.5
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */

package com.frostwire.jlibtorrent.swig;

public class SWIGTYPE_p_boost__functionT_bool_fstd__stringF_t {
private long swigCPtr;

protected SWIGTYPE_p_boost__functionT_bool_fstd__stringF_t(long cPtr, boolean futureUse) {
swigCPtr = cPtr;
}

protected SWIGTYPE_p_boost__functionT_bool_fstd__stringF_t() {
swigCPtr = 0;
}

protected static long getCPtr(SWIGTYPE_p_boost__functionT_bool_fstd__stringF_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.5
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */

package com.frostwire.jlibtorrent.swig;

public class SWIGTYPE_p_boost__functionT_void_fchar_pF_t {
private long swigCPtr;

protected SWIGTYPE_p_boost__functionT_void_fchar_pF_t(long cPtr, boolean futureUse) {
swigCPtr = cPtr;
}

protected SWIGTYPE_p_boost__functionT_void_fchar_pF_t() {
swigCPtr = 0;
}

protected static long getCPtr(SWIGTYPE_p_boost__functionT_void_fchar_pF_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.5
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */

package com.frostwire.jlibtorrent.swig;

public class SWIGTYPE_p_boost__functionT_void_fintF_t {
private long swigCPtr;

protected SWIGTYPE_p_boost__functionT_void_fintF_t(long cPtr, boolean futureUse) {
swigCPtr = cPtr;
}

protected SWIGTYPE_p_boost__functionT_void_fintF_t() {
swigCPtr = 0;
}

protected static long getCPtr(SWIGTYPE_p_boost__functionT_void_fintF_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.5
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */

package com.frostwire.jlibtorrent.swig;

public class SWIGTYPE_p_boost__functionT_void_flibtorrent__sha1_hash_const_R_std__vectorT_char_t_R_boost__system__error_code_RF_t {
private long swigCPtr;

protected SWIGTYPE_p_boost__functionT_void_flibtorrent__sha1_hash_const_R_std__vectorT_char_t_R_boost__system__error_code_RF_t(long cPtr, boolean futureUse) {
swigCPtr = cPtr;
}

protected SWIGTYPE_p_boost__functionT_void_flibtorrent__sha1_hash_const_R_std__vectorT_char_t_R_boost__system__error_code_RF_t() {
swigCPtr = 0;
}

protected static long getCPtr(SWIGTYPE_p_boost__functionT_void_flibtorrent__sha1_hash_const_R_std__vectorT_char_t_R_boost__system__error_code_RF_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.5
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */

package com.frostwire.jlibtorrent.swig;

public class SWIGTYPE_p_boost__shared_ptrT_libtorrent__aux__session_impl_t {
private long swigCPtr;

protected SWIGTYPE_p_boost__shared_ptrT_libtorrent__aux__session_impl_t(long cPtr, boolean futureUse) {
swigCPtr = cPtr;
}

protected SWIGTYPE_p_boost__shared_ptrT_libtorrent__aux__session_impl_t() {
swigCPtr = 0;
}

protected static long getCPtr(SWIGTYPE_p_boost__shared_ptrT_libtorrent__aux__session_impl_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.5
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */

package com.frostwire.jlibtorrent.swig;

public class SWIGTYPE_p_boost__shared_ptrT_libtorrent__disk_observer_t {
private long swigCPtr;

protected SWIGTYPE_p_boost__shared_ptrT_libtorrent__disk_observer_t(long cPtr, boolean futureUse) {
swigCPtr = cPtr;
}

protected SWIGTYPE_p_boost__shared_ptrT_libtorrent__disk_observer_t() {
swigCPtr = 0;
}

protected static long getCPtr(SWIGTYPE_p_boost__shared_ptrT_libtorrent__disk_observer_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.5
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */

package com.frostwire.jlibtorrent.swig;

public class SWIGTYPE_p_boost__shared_ptrT_libtorrent__torrent_info_t {
private long swigCPtr;

protected SWIGTYPE_p_boost__shared_ptrT_libtorrent__torrent_info_t(long cPtr, boolean futureUse) {
swigCPtr = cPtr;
}

protected SWIGTYPE_p_boost__shared_ptrT_libtorrent__torrent_info_t() {
swigCPtr = 0;
}

protected static long getCPtr(SWIGTYPE_p_boost__shared_ptrT_libtorrent__torrent_info_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.5
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */

package com.frostwire.jlibtorrent.swig;

public class SWIGTYPE_p_boost__shared_ptrT_socket_type_t {
private long swigCPtr;

protected SWIGTYPE_p_boost__shared_ptrT_socket_type_t(long cPtr, boolean futureUse) {
swigCPtr = cPtr;
}

protected SWIGTYPE_p_boost__shared_ptrT_socket_type_t() {
swigCPtr = 0;
}

protected static long getCPtr(SWIGTYPE_p_boost__shared_ptrT_socket_type_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}

0 comments on commit a36b2e9

Please sign in to comment.