Renamed tdnatives to tdlib

This commit is contained in:
Andrea Cavalli 2020-08-20 01:59:56 +02:00
parent d6490ef7c5
commit fa545a72f0
8 changed files with 11 additions and 13 deletions

View File

@ -1,4 +1,4 @@
package it.tdlight.tdnatives; package it.tdlight.tdlib;
/* /*
* Copyright (c) 2018. Ernesto Castellotti <erny.castell@gmail.com> * Copyright (c) 2018. Ernesto Castellotti <erny.castell@gmail.com>
* This file is part of JTdlib. * This file is part of JTdlib.
@ -18,8 +18,8 @@ package it.tdlight.tdnatives;
import it.tdlight.tdnatives.TdApi.Function; import it.tdlight.tdlib.TdApi.Function;
import it.tdlight.tdnatives.TdApi.Object; import it.tdlight.tdlib.TdApi.Object;
public class NativeClient { public class NativeClient {
protected static native long createNativeClient(); protected static native long createNativeClient();

View File

@ -15,7 +15,7 @@
* along with JTdlib. If not, see <http://www.gnu.org/licenses/>. * along with JTdlib. If not, see <http://www.gnu.org/licenses/>.
*/ */
package it.tdlight.tdnatives; package it.tdlight.tdlib;
/** /**
* Interface for managing the internal logging of TDLib. By default TDLib writes logs to stderr or an OS specific log and uses a verbosity level of 5. * Interface for managing the internal logging of TDLib. By default TDLib writes logs to stderr or an OS specific log and uses a verbosity level of 5.

View File

@ -1,10 +1,8 @@
package it.tdlight.tdnatives; package it.tdlight.tdlib;
import java.io.ByteArrayOutputStream; import java.io.ByteArrayOutputStream;
import java.io.DataOutputStream; import java.io.DataOutputStream;
import java.io.InputStream;
import java.nio.charset.StandardCharsets; import java.nio.charset.StandardCharsets;
import java.lang.IllegalStateException;
import java.io.IOException; import java.io.IOException;
import java.io.DataInput; import java.io.DataInput;

View File

@ -1,7 +1,7 @@
package it.tdlight.tdlight; package it.tdlight.tdlight;
import it.tdlight.tdnatives.TdApi.Object; import it.tdlight.tdlib.TdApi.Object;
import it.tdlight.tdnatives.NativeClient; import it.tdlight.tdlib.NativeClient;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays; import java.util.Arrays;
import java.util.List; import java.util.List;

View File

@ -17,7 +17,7 @@
package it.tdlight.tdlight; package it.tdlight.tdlight;
import it.tdlight.tdnatives.TdApi; import it.tdlight.tdlib.TdApi;
import java.lang.reflect.Field; import java.lang.reflect.Field;
import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentHashMap;

View File

@ -1,6 +1,6 @@
package it.tdlight.tdlight; package it.tdlight.tdlight;
import it.tdlight.tdnatives.NativeLog; import it.tdlight.tdlib.NativeLog;
import java.util.Objects; import java.util.Objects;
public class Log extends NativeLog { public class Log extends NativeLog {

View File

@ -17,7 +17,7 @@
package it.tdlight.tdlight; package it.tdlight.tdlight;
import it.tdlight.tdnatives.TdApi.Function; import it.tdlight.tdlib.TdApi.Function;
/** /**
* A request to the TDLib. * A request to the TDLib.

View File

@ -17,7 +17,7 @@
package it.tdlight.tdlight; package it.tdlight.tdlight;
import it.tdlight.tdnatives.TdApi.Object; import it.tdlight.tdlib.TdApi.Object;
/** /**
* A response to a request, or an incoming update from TDLib. * A response to a request, or an incoming update from TDLib.