Store and exchange client minor versions.

These don't affect client visibility.
This commit is contained in:
akwizgran
2018-04-16 17:16:14 +01:00
parent 2e570ba50d
commit 05deaf42e3
18 changed files with 164 additions and 54 deletions

View File

@@ -26,6 +26,11 @@ public interface BlogManager {
*/
int MAJOR_VERSION = 0;
/**
* The current minor version of the blog client.
*/
int MINOR_VERSION = 0;
/**
* Adds the given {@link Blog).}
*/

View File

@@ -14,4 +14,9 @@ public interface BlogSharingManager extends SharingManager<Blog> {
* The current major version of the blog sharing client.
*/
int MAJOR_VERSION = 0;
/**
* The current minor version of the blog sharing client.
*/
int MINOR_VERSION = 0;
}

View File

@@ -27,6 +27,11 @@ public interface ForumManager {
*/
int MAJOR_VERSION = 0;
/**
* The current minor version of the forum client.
*/
int MINOR_VERSION = 0;
/**
* Subscribes to a forum.
*/

View File

@@ -14,4 +14,9 @@ public interface ForumSharingManager extends SharingManager<Forum> {
* The current major version of the forum sharing client.
*/
int MAJOR_VERSION = 0;
/**
* The current minor version of the forum sharing client.
*/
int MINOR_VERSION = 0;
}

View File

@@ -30,6 +30,11 @@ public interface IntroductionManager extends ConversationClient {
*/
boolean canIntroduce(Contact c1, Contact c2) throws DbException;
/**
* The current minor version of the introduction client.
*/
int MINOR_VERSION = 0;
/**
* Sends two initial introduction messages.
*/

View File

@@ -23,6 +23,11 @@ public interface MessagingManager extends ConversationClient {
*/
int MAJOR_VERSION = 0;
/**
* The current minor version of the messaging client.
*/
int MINOR_VERSION = 0;
/**
* Stores a local private message.
*/

View File

@@ -26,6 +26,11 @@ public interface PrivateGroupManager {
*/
int MAJOR_VERSION = 0;
/**
* The current minor version of the private group client.
*/
int MINOR_VERSION = 0;
/**
* Adds a new private group and joins it.
*

View File

@@ -30,6 +30,11 @@ public interface GroupInvitationManager extends ConversationClient {
*/
int MAJOR_VERSION = 0;
/**
* The current minor version of the private group invitation client.
*/
int MINOR_VERSION = 0;
/**
* Sends an invitation to share the given private group with the given
* contact, including an optional message.