mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
Store and exchange client minor versions.
These don't affect client visibility.
This commit is contained in:
@@ -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).}
|
||||
*/
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
@@ -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.
|
||||
*
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user