mirror of https://github.com/oxen-io/session-ios
Delete unused files
parent
9cd0c421bc
commit
ff09ee3e79
@ -1,12 +0,0 @@
|
|||||||
PROTOC=protoc \
|
|
||||||
--proto_path='./'
|
|
||||||
WRAPPER_SCRIPT=../Scripts/ProtoWrappers.py \
|
|
||||||
--proto-dir='./' --verbose
|
|
||||||
|
|
||||||
all: webrtc_data_proto
|
|
||||||
|
|
||||||
webrtc_data_proto: OWSWebRTCDataProtos.proto
|
|
||||||
$(PROTOC) --swift_out=../Signal/src/Generated \
|
|
||||||
OWSWebRTCDataProtos.proto
|
|
||||||
$(WRAPPER_SCRIPT) --dst-dir=../Signal/src/Generated \
|
|
||||||
--wrapper-prefix=WebRTCProto --proto-prefix=WebRTCProtos --proto-file=OWSWebRTCDataProtos.proto
|
|
@ -1,37 +0,0 @@
|
|||||||
/**
|
|
||||||
* Copyright (C) 2014-2016 Open Whisper Systems
|
|
||||||
*
|
|
||||||
* Licensed according to the LICENSE file in this repository.
|
|
||||||
*/
|
|
||||||
|
|
||||||
// iOS - since we use a modern proto-compiler, we must specify
|
|
||||||
// the legacy proto format.
|
|
||||||
syntax = "proto2";
|
|
||||||
|
|
||||||
// iOS - package name determines class prefix
|
|
||||||
package WebRTCProtos;
|
|
||||||
|
|
||||||
option java_package = "org.thoughtcrime.securesms.webrtc";
|
|
||||||
option java_outer_classname = "WebRtcDataProtos";
|
|
||||||
|
|
||||||
message Connected {
|
|
||||||
// @required
|
|
||||||
optional uint64 id = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
message Hangup {
|
|
||||||
// @required
|
|
||||||
optional uint64 id = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
message VideoStreamingStatus {
|
|
||||||
// @required
|
|
||||||
optional uint64 id = 1;
|
|
||||||
optional bool enabled = 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
message Data {
|
|
||||||
optional Connected connected = 1;
|
|
||||||
optional Hangup hangup = 2;
|
|
||||||
optional VideoStreamingStatus videoStreamingStatus = 3;
|
|
||||||
}
|
|
Loading…
Reference in New Issue