From a421d148f3a315262122952c8bf611a39adfbc3a Mon Sep 17 00:00:00 2001 From: cyBerta Date: Fri, 1 Feb 2019 01:28:18 +0100 Subject: [PATCH] #687 remove protobuf files --- protobuf/Backups.proto | 59 --------------------------------------- protobuf/Makefile | 3 -- protobuf/WebRtcData.proto | 31 -------------------- 3 files changed, 93 deletions(-) delete mode 100644 protobuf/Backups.proto delete mode 100644 protobuf/Makefile delete mode 100644 protobuf/WebRtcData.proto diff --git a/protobuf/Backups.proto b/protobuf/Backups.proto deleted file mode 100644 index 054c3526e..000000000 --- a/protobuf/Backups.proto +++ /dev/null @@ -1,59 +0,0 @@ -/** - * Copyright (C) 2018 Open Whisper Systems - * - * Licensed according to the LICENSE file in this repository. - */ - -package signal; - -option java_package = "org.thoughtcrime.securesms.backup"; -option java_outer_classname = "BackupProtos"; - -message SqlStatement { - message SqlParameter { - optional string stringParamter = 1; - optional uint64 integerParameter = 2; - optional double doubleParameter = 3; - optional bytes blobParameter = 4; - optional bool nullparameter = 5; - } - - optional string statement = 1; - repeated SqlParameter parameters = 2; -} - -message SharedPreference { - optional string file = 1; - optional string key = 2; - optional string value = 3; -} - -message Attachment { - optional uint64 rowId = 1; - optional uint64 attachmentId = 2; - optional uint32 length = 3; -} - -message Avatar { - optional string name = 1; - optional uint32 length = 2; -} - -message DatabaseVersion { - optional uint32 version = 1; -} - -message Header { - optional bytes iv = 1; - optional bytes salt = 2; -} - -message BackupFrame { - optional Header header = 1; - optional SqlStatement statement = 2; - optional SharedPreference preference = 3; - optional Attachment attachment = 4; - optional DatabaseVersion version = 5; - optional bool end = 6; - optional Avatar avatar = 7; -} \ No newline at end of file diff --git a/protobuf/Makefile b/protobuf/Makefile deleted file mode 100644 index d94e3c40c..000000000 --- a/protobuf/Makefile +++ /dev/null @@ -1,3 +0,0 @@ - -all: - protoc --java_out=../src/ WebRtcData.proto Backups.proto diff --git a/protobuf/WebRtcData.proto b/protobuf/WebRtcData.proto deleted file mode 100644 index 3e6c3fd71..000000000 --- a/protobuf/WebRtcData.proto +++ /dev/null @@ -1,31 +0,0 @@ -/** - * Copyright (C) 2014-2016 Open Whisper Systems - * - * Licensed according to the LICENSE file in this repository. - */ - -package signal; - -option java_package = "org.thoughtcrime.securesms.webrtc"; -option java_outer_classname = "WebRtcDataProtos"; - -message Connected { - optional uint64 id = 1; -} - -message Hangup { - optional uint64 id = 1; -} - -message VideoStreamingStatus { - optional uint64 id = 1; - optional bool enabled = 2; -} - -message Data { - - optional Connected connected = 1; - optional Hangup hangup = 2; - optional VideoStreamingStatus videoStreamingStatus = 3; - -} \ No newline at end of file