diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..617d2fc --- /dev/null +++ b/.gitattributes @@ -0,0 +1,6 @@ +*.proto text +*.cpp text +*.hpp text +*.txt text +*.md text +*.cmake text diff --git a/aasdk_proto/AVChannelSetupRequestMessage.proto b/aasdk_proto/AVChannelSetupRequestMessage.proto index fae2192..c9d0bc3 100644 --- a/aasdk_proto/AVChannelSetupRequestMessage.proto +++ b/aasdk_proto/AVChannelSetupRequestMessage.proto @@ -1,26 +1,26 @@ /* -* This file is part of aasdk library project. -* Copyright (C) 2018 f1x.studio (Michal Szwaj) -* -* aasdk is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 3 of the License, or -* (at your option) any later version. - -* aasdk is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with aasdk. If not, see . -*/ - -syntax="proto2"; - -package f1x.aasdk.proto.messages; - -message AVChannelSetupRequest -{ - required uint32 config_index = 1; -} +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto2"; + +package f1x.aasdk.proto.messages; + +message AVChannelSetupRequest +{ + required uint32 config_index = 1; +} diff --git a/aasdk_proto/AVChannelSetupResponseMessage.proto b/aasdk_proto/AVChannelSetupResponseMessage.proto index 6efec78..afa8ebb 100644 --- a/aasdk_proto/AVChannelSetupResponseMessage.proto +++ b/aasdk_proto/AVChannelSetupResponseMessage.proto @@ -1,30 +1,30 @@ /* -* This file is part of aasdk library project. -* Copyright (C) 2018 f1x.studio (Michal Szwaj) -* -* aasdk is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 3 of the License, or -* (at your option) any later version. - -* aasdk is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with aasdk. If not, see . -*/ - -syntax="proto2"; - -import "AVChannelSetupStatusEnum.proto"; - -package f1x.aasdk.proto.messages; - -message AVChannelSetupResponse -{ - required enums.AVChannelSetupStatus.Enum media_status = 1; - required uint32 max_unacked = 2; - repeated uint32 configs = 3; -} +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto2"; + +import "AVChannelSetupStatusEnum.proto"; + +package f1x.aasdk.proto.messages; + +message AVChannelSetupResponse +{ + required enums.AVChannelSetupStatus.Enum media_status = 1; + required uint32 max_unacked = 2; + repeated uint32 configs = 3; +} diff --git a/aasdk_proto/AVChannelSetupStatusEnum.proto b/aasdk_proto/AVChannelSetupStatusEnum.proto index 68b4ee9..7adb240 100644 --- a/aasdk_proto/AVChannelSetupStatusEnum.proto +++ b/aasdk_proto/AVChannelSetupStatusEnum.proto @@ -1,31 +1,31 @@ /* -* This file is part of aasdk library project. -* Copyright (C) 2018 f1x.studio (Michal Szwaj) -* -* aasdk is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 3 of the License, or -* (at your option) any later version. - -* aasdk is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with aasdk. If not, see . -*/ - -syntax="proto2"; - -package f1x.aasdk.proto.enums; - -message AVChannelSetupStatus -{ - enum Enum - { - NONE = 0; - FAIL = 1; - OK = 2; - } -} +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto2"; + +package f1x.aasdk.proto.enums; + +message AVChannelSetupStatus +{ + enum Enum + { + NONE = 0; + FAIL = 1; + OK = 2; + } +} diff --git a/aasdk_proto/AVChannelStopIndicationMessage.proto b/aasdk_proto/AVChannelStopIndicationMessage.proto index 1ff7b7d..dccba62 100644 --- a/aasdk_proto/AVChannelStopIndicationMessage.proto +++ b/aasdk_proto/AVChannelStopIndicationMessage.proto @@ -1,25 +1,25 @@ /* -* This file is part of aasdk library project. -* Copyright (C) 2018 f1x.studio (Michal Szwaj) -* -* aasdk is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 3 of the License, or -* (at your option) any later version. - -* aasdk is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with aasdk. If not, see . -*/ - -syntax="proto2"; - -package f1x.aasdk.proto.messages; - -message AVChannelStopIndication -{ -} +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto2"; + +package f1x.aasdk.proto.messages; + +message AVChannelStopIndication +{ +} diff --git a/aasdk_proto/AVInputOpenRequestMessage.proto b/aasdk_proto/AVInputOpenRequestMessage.proto index 496ee4b..b11f006 100644 --- a/aasdk_proto/AVInputOpenRequestMessage.proto +++ b/aasdk_proto/AVInputOpenRequestMessage.proto @@ -1,29 +1,29 @@ /* -* This file is part of aasdk library project. -* Copyright (C) 2018 f1x.studio (Michal Szwaj) -* -* aasdk is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 3 of the License, or -* (at your option) any later version. - -* aasdk is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with aasdk. If not, see . -*/ - -syntax="proto2"; - -package f1x.aasdk.proto.messages; - -message AVInputOpenRequest -{ - required bool open = 1; - optional bool anc = 2; - optional bool ec = 3; - optional int32 max_unacked = 4; -} +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto2"; + +package f1x.aasdk.proto.messages; + +message AVInputOpenRequest +{ + required bool open = 1; + optional bool anc = 2; + optional bool ec = 3; + optional int32 max_unacked = 4; +} diff --git a/aasdk_proto/AVInputOpenResponseMessage.proto b/aasdk_proto/AVInputOpenResponseMessage.proto index 76a7213..aa95731 100644 --- a/aasdk_proto/AVInputOpenResponseMessage.proto +++ b/aasdk_proto/AVInputOpenResponseMessage.proto @@ -1,27 +1,27 @@ /* -* This file is part of aasdk library project. -* Copyright (C) 2018 f1x.studio (Michal Szwaj) -* -* aasdk is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 3 of the License, or -* (at your option) any later version. - -* aasdk is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with aasdk. If not, see . -*/ - -syntax="proto2"; - -package f1x.aasdk.proto.messages; - -message AVInputOpenResponse -{ - required int32 session = 1; - required uint32 value = 2; -} +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto2"; + +package f1x.aasdk.proto.messages; + +message AVInputOpenResponse +{ + required int32 session = 1; + required uint32 value = 2; +} diff --git a/aasdk_proto/AVMediaAckIndicationMessage.proto b/aasdk_proto/AVMediaAckIndicationMessage.proto index b3fa43c..a5f5b42 100644 --- a/aasdk_proto/AVMediaAckIndicationMessage.proto +++ b/aasdk_proto/AVMediaAckIndicationMessage.proto @@ -1,27 +1,27 @@ /* -* This file is part of aasdk library project. -* Copyright (C) 2018 f1x.studio (Michal Szwaj) -* -* aasdk is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 3 of the License, or -* (at your option) any later version. - -* aasdk is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with aasdk. If not, see . -*/ - -syntax="proto2"; - -package f1x.aasdk.proto.messages; - -message AVMediaAckIndication -{ - required int32 session = 1; - required uint32 value = 2; -} +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto2"; + +package f1x.aasdk.proto.messages; + +message AVMediaAckIndication +{ + required int32 session = 1; + required uint32 value = 2; +} diff --git a/aasdk_proto/AVStreamTypeEnum.proto b/aasdk_proto/AVStreamTypeEnum.proto index 3a1ffd1..5494ce2 100644 --- a/aasdk_proto/AVStreamTypeEnum.proto +++ b/aasdk_proto/AVStreamTypeEnum.proto @@ -1,31 +1,31 @@ /* -* This file is part of aasdk library project. -* Copyright (C) 2018 f1x.studio (Michal Szwaj) -* -* aasdk is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 3 of the License, or -* (at your option) any later version. - -* aasdk is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with aasdk. If not, see . -*/ - -syntax="proto2"; - -package f1x.aasdk.proto.enums; - -message AVStreamType -{ - enum Enum - { - NONE = 0; - AUDIO = 1; - VIDEO = 3; - } -} +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto2"; + +package f1x.aasdk.proto.enums; + +message AVStreamType +{ + enum Enum + { + NONE = 0; + AUDIO = 1; + VIDEO = 3; + } +} diff --git a/aasdk_proto/AbsoluteInputEventData.proto b/aasdk_proto/AbsoluteInputEventData.proto index afcdde9..e6d6618 100644 --- a/aasdk_proto/AbsoluteInputEventData.proto +++ b/aasdk_proto/AbsoluteInputEventData.proto @@ -1,27 +1,27 @@ /* -* This file is part of aasdk library project. -* Copyright (C) 2018 f1x.studio (Michal Szwaj) -* -* aasdk is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 3 of the License, or -* (at your option) any later version. - -* aasdk is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with aasdk. If not, see . -*/ - -syntax="proto2"; - -package f1x.aasdk.proto.data; - -message AbsoluteInputEvent -{ - required uint32 scan_code = 1; - required int32 value = 2; -} +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto2"; + +package f1x.aasdk.proto.data; + +message AbsoluteInputEvent +{ + required uint32 scan_code = 1; + required int32 value = 2; +} diff --git a/aasdk_proto/AbsoluteInputEventsData.proto b/aasdk_proto/AbsoluteInputEventsData.proto index 29f61f4..e132280 100644 --- a/aasdk_proto/AbsoluteInputEventsData.proto +++ b/aasdk_proto/AbsoluteInputEventsData.proto @@ -1,28 +1,28 @@ /* -* This file is part of aasdk library project. -* Copyright (C) 2018 f1x.studio (Michal Szwaj) -* -* aasdk is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 3 of the License, or -* (at your option) any later version. - -* aasdk is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with aasdk. If not, see . -*/ - -syntax="proto2"; - -import "AbsoluteInputEventData.proto"; - -package f1x.aasdk.proto.data; - -message AbsoluteInputEvents -{ - repeated AbsoluteInputEvent absolute_input_events = 1; -} +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto2"; + +import "AbsoluteInputEventData.proto"; + +package f1x.aasdk.proto.data; + +message AbsoluteInputEvents +{ + repeated AbsoluteInputEvent absolute_input_events = 1; +} diff --git a/aasdk_proto/BindingRequestMessage.proto b/aasdk_proto/BindingRequestMessage.proto index a0b80fa..fd51939 100644 --- a/aasdk_proto/BindingRequestMessage.proto +++ b/aasdk_proto/BindingRequestMessage.proto @@ -1,26 +1,26 @@ /* -* This file is part of aasdk library project. -* Copyright (C) 2018 f1x.studio (Michal Szwaj) -* -* aasdk is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 3 of the License, or -* (at your option) any later version. - -* aasdk is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with aasdk. If not, see . -*/ - -syntax="proto2"; - -package f1x.aasdk.proto.messages; - -message BindingRequest -{ - repeated int32 scan_codes = 1; -} +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto2"; + +package f1x.aasdk.proto.messages; + +message BindingRequest +{ + repeated int32 scan_codes = 1; +} diff --git a/aasdk_proto/BindingResponseMessage.proto b/aasdk_proto/BindingResponseMessage.proto index 2d7088b..f5b7841 100644 --- a/aasdk_proto/BindingResponseMessage.proto +++ b/aasdk_proto/BindingResponseMessage.proto @@ -1,28 +1,28 @@ /* -* This file is part of aasdk library project. -* Copyright (C) 2018 f1x.studio (Michal Szwaj) -* -* aasdk is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 3 of the License, or -* (at your option) any later version. - -* aasdk is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with aasdk. If not, see . -*/ - -syntax="proto2"; - -import "StatusEnum.proto"; - -package f1x.aasdk.proto.messages; - -message BindingResponse -{ - required enums.Status.Enum status = 1; -} +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto2"; + +import "StatusEnum.proto"; + +package f1x.aasdk.proto.messages; + +message BindingResponse +{ + required enums.Status.Enum status = 1; +} diff --git a/aasdk_proto/ButtonEventData.proto b/aasdk_proto/ButtonEventData.proto index 6b9f0dd..ca158fb 100644 --- a/aasdk_proto/ButtonEventData.proto +++ b/aasdk_proto/ButtonEventData.proto @@ -1,29 +1,29 @@ /* -* This file is part of aasdk library project. -* Copyright (C) 2018 f1x.studio (Michal Szwaj) -* -* aasdk is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 3 of the License, or -* (at your option) any later version. - -* aasdk is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with aasdk. If not, see . -*/ - -syntax="proto2"; - -package f1x.aasdk.proto.data; - -message ButtonEvent -{ - required uint32 scan_code = 1; - required bool is_pressed = 2; - optional uint32 meta = 3; - optional bool long_press = 4; -} +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto2"; + +package f1x.aasdk.proto.data; + +message ButtonEvent +{ + required uint32 scan_code = 1; + required bool is_pressed = 2; + optional uint32 meta = 3; + optional bool long_press = 4; +} diff --git a/aasdk_proto/ButtonEventsData.proto b/aasdk_proto/ButtonEventsData.proto index 0141c67..9cbbb7f 100644 --- a/aasdk_proto/ButtonEventsData.proto +++ b/aasdk_proto/ButtonEventsData.proto @@ -1,28 +1,28 @@ /* -* This file is part of aasdk library project. -* Copyright (C) 2018 f1x.studio (Michal Szwaj) -* -* aasdk is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 3 of the License, or -* (at your option) any later version. - -* aasdk is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with aasdk. If not, see . -*/ - -syntax="proto2"; - -import "ButtonEventData.proto"; - -package f1x.aasdk.proto.data; - -message ButtonEvents -{ - repeated ButtonEvent button_events = 1; -} +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto2"; + +import "ButtonEventData.proto"; + +package f1x.aasdk.proto.data; + +message ButtonEvents +{ + repeated ButtonEvent button_events = 1; +} diff --git a/aasdk_proto/InputEventIndicationMessage.proto b/aasdk_proto/InputEventIndicationMessage.proto index 5bdbab0..9201bb1 100644 --- a/aasdk_proto/InputEventIndicationMessage.proto +++ b/aasdk_proto/InputEventIndicationMessage.proto @@ -1,36 +1,36 @@ /* -* This file is part of aasdk library project. -* Copyright (C) 2018 f1x.studio (Michal Szwaj) -* -* aasdk is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 3 of the License, or -* (at your option) any later version. - -* aasdk is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with aasdk. If not, see . -*/ - -syntax="proto2"; - -import "TouchEventData.proto"; -import "ButtonEventsData.proto"; -import "AbsoluteInputEventsData.proto"; -import "RelativeInputEventsData.proto"; - -package f1x.aasdk.proto.messages; - -message InputEventIndication -{ - required uint64 timestamp = 1; - optional int32 disp_channel = 2; - optional data.TouchEvent touch_event = 3; - optional data.ButtonEvents button_event = 4; - optional data.AbsoluteInputEvents absolute_input_event = 5; - optional data.RelativeInputEvents relative_input_event = 6; -} +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto2"; + +import "TouchEventData.proto"; +import "ButtonEventsData.proto"; +import "AbsoluteInputEventsData.proto"; +import "RelativeInputEventsData.proto"; + +package f1x.aasdk.proto.messages; + +message InputEventIndication +{ + required uint64 timestamp = 1; + optional int32 disp_channel = 2; + optional data.TouchEvent touch_event = 3; + optional data.ButtonEvents button_event = 4; + optional data.AbsoluteInputEvents absolute_input_event = 5; + optional data.RelativeInputEvents relative_input_event = 6; +} diff --git a/aasdk_proto/NavigationFocusRequestMessage.proto b/aasdk_proto/NavigationFocusRequestMessage.proto index f875af0..596506d 100644 --- a/aasdk_proto/NavigationFocusRequestMessage.proto +++ b/aasdk_proto/NavigationFocusRequestMessage.proto @@ -1,26 +1,26 @@ /* -* This file is part of aasdk library project. -* Copyright (C) 2018 f1x.studio (Michal Szwaj) -* -* aasdk is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 3 of the License, or -* (at your option) any later version. - -* aasdk is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with aasdk. If not, see . -*/ - -syntax="proto2"; - -package f1x.aasdk.proto.messages; - -message NavigationFocusRequest -{ - required uint32 type = 1; -} +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto2"; + +package f1x.aasdk.proto.messages; + +message NavigationFocusRequest +{ + required uint32 type = 1; +} diff --git a/aasdk_proto/NavigationFocusResponseMessage.proto b/aasdk_proto/NavigationFocusResponseMessage.proto index 9a36eda..5e5d72f 100644 --- a/aasdk_proto/NavigationFocusResponseMessage.proto +++ b/aasdk_proto/NavigationFocusResponseMessage.proto @@ -1,26 +1,26 @@ /* -* This file is part of aasdk library project. -* Copyright (C) 2018 f1x.studio (Michal Szwaj) -* -* aasdk is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 3 of the License, or -* (at your option) any later version. - -* aasdk is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with aasdk. If not, see . -*/ - -syntax="proto2"; - -package f1x.aasdk.proto.messages; - -message NavigationFocusResponse -{ - required uint32 type = 1; -} +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto2"; + +package f1x.aasdk.proto.messages; + +message NavigationFocusResponse +{ + required uint32 type = 1; +} diff --git a/aasdk_proto/RelativeInputEventData.proto b/aasdk_proto/RelativeInputEventData.proto index 92587b8..2b751a9 100644 --- a/aasdk_proto/RelativeInputEventData.proto +++ b/aasdk_proto/RelativeInputEventData.proto @@ -1,27 +1,27 @@ /* -* This file is part of aasdk library project. -* Copyright (C) 2018 f1x.studio (Michal Szwaj) -* -* aasdk is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 3 of the License, or -* (at your option) any later version. - -* aasdk is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with aasdk. If not, see . -*/ - -syntax="proto2"; - -package f1x.aasdk.proto.data; - -message RelativeInputEvent -{ - required uint32 scan_code = 1; - required int32 delta = 2; -} +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto2"; + +package f1x.aasdk.proto.data; + +message RelativeInputEvent +{ + required uint32 scan_code = 1; + required int32 delta = 2; +} diff --git a/aasdk_proto/RelativeInputEventsData.proto b/aasdk_proto/RelativeInputEventsData.proto index 298babb..faf3015 100644 --- a/aasdk_proto/RelativeInputEventsData.proto +++ b/aasdk_proto/RelativeInputEventsData.proto @@ -1,28 +1,28 @@ /* -* This file is part of aasdk library project. -* Copyright (C) 2018 f1x.studio (Michal Szwaj) -* -* aasdk is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 3 of the License, or -* (at your option) any later version. - -* aasdk is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with aasdk. If not, see . -*/ - -syntax="proto2"; - -import "RelativeInputEventData.proto"; - -package f1x.aasdk.proto.data; - -message RelativeInputEvents -{ - repeated RelativeInputEvent relative_input_events = 1; -} +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto2"; + +import "RelativeInputEventData.proto"; + +package f1x.aasdk.proto.data; + +message RelativeInputEvents +{ + repeated RelativeInputEvent relative_input_events = 1; +} diff --git a/aasdk_proto/SensorStartRequestMessage.proto b/aasdk_proto/SensorStartRequestMessage.proto index d4397ce..5ebfdc6 100644 --- a/aasdk_proto/SensorStartRequestMessage.proto +++ b/aasdk_proto/SensorStartRequestMessage.proto @@ -1,29 +1,29 @@ /* -* This file is part of aasdk library project. -* Copyright (C) 2018 f1x.studio (Michal Szwaj) -* -* aasdk is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 3 of the License, or -* (at your option) any later version. - -* aasdk is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with aasdk. If not, see . -*/ - -syntax="proto2"; - -import "SensorTypeEnum.proto"; - -package f1x.aasdk.proto.messages; - -message SensorStartRequestMessage -{ - required enums.SensorType.Enum sensor_type = 1; - required int64 refresh_interval = 2; -} +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto2"; + +import "SensorTypeEnum.proto"; + +package f1x.aasdk.proto.messages; + +message SensorStartRequestMessage +{ + required enums.SensorType.Enum sensor_type = 1; + required int64 refresh_interval = 2; +} diff --git a/aasdk_proto/SensorStartResponseMessage.proto b/aasdk_proto/SensorStartResponseMessage.proto index b37896f..e487d79 100644 --- a/aasdk_proto/SensorStartResponseMessage.proto +++ b/aasdk_proto/SensorStartResponseMessage.proto @@ -1,28 +1,28 @@ /* -* This file is part of aasdk library project. -* Copyright (C) 2018 f1x.studio (Michal Szwaj) -* -* aasdk is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 3 of the License, or -* (at your option) any later version. - -* aasdk is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with aasdk. If not, see . -*/ - -syntax="proto2"; - -import "StatusEnum.proto"; - -package f1x.aasdk.proto.messages; - -message SensorStartResponseMessage -{ - required enums.Status.Enum status = 1; -} +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto2"; + +import "StatusEnum.proto"; + +package f1x.aasdk.proto.messages; + +message SensorStartResponseMessage +{ + required enums.Status.Enum status = 1; +} diff --git a/aasdk_proto/ShutdownReasonEnum.proto b/aasdk_proto/ShutdownReasonEnum.proto index b7124fd..c309b44 100644 --- a/aasdk_proto/ShutdownReasonEnum.proto +++ b/aasdk_proto/ShutdownReasonEnum.proto @@ -1,30 +1,30 @@ /* -* This file is part of aasdk library project. -* Copyright (C) 2018 f1x.studio (Michal Szwaj) -* -* aasdk is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 3 of the License, or -* (at your option) any later version. - -* aasdk is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with aasdk. If not, see . -*/ - -syntax="proto2"; - -package f1x.aasdk.proto.enums; - -message ShutdownReason -{ - enum Enum - { - NONE = 0; - QUIT = 1; - } -} +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto2"; + +package f1x.aasdk.proto.enums; + +message ShutdownReason +{ + enum Enum + { + NONE = 0; + QUIT = 1; + } +} diff --git a/aasdk_proto/ShutdownRequestMessage.proto b/aasdk_proto/ShutdownRequestMessage.proto index b6ee0cc..a9a9484 100644 --- a/aasdk_proto/ShutdownRequestMessage.proto +++ b/aasdk_proto/ShutdownRequestMessage.proto @@ -1,28 +1,28 @@ /* -* This file is part of aasdk library project. -* Copyright (C) 2018 f1x.studio (Michal Szwaj) -* -* aasdk is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 3 of the License, or -* (at your option) any later version. - -* aasdk is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with aasdk. If not, see . -*/ - -syntax="proto2"; - -import "ShutdownReasonEnum.proto"; - -package f1x.aasdk.proto.messages; - -message ShutdownRequest -{ - required enums.ShutdownReason.Enum reason = 1; -} +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto2"; + +import "ShutdownReasonEnum.proto"; + +package f1x.aasdk.proto.messages; + +message ShutdownRequest +{ + required enums.ShutdownReason.Enum reason = 1; +} diff --git a/aasdk_proto/ShutdownResponseMessage.proto b/aasdk_proto/ShutdownResponseMessage.proto index 1527586..b13fb24 100644 --- a/aasdk_proto/ShutdownResponseMessage.proto +++ b/aasdk_proto/ShutdownResponseMessage.proto @@ -1,25 +1,25 @@ /* -* This file is part of aasdk library project. -* Copyright (C) 2018 f1x.studio (Michal Szwaj) -* -* aasdk is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 3 of the License, or -* (at your option) any later version. - -* aasdk is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with aasdk. If not, see . -*/ - -syntax="proto2"; - -package f1x.aasdk.proto.messages; - -message ShutdownResponse -{ -} +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto2"; + +package f1x.aasdk.proto.messages; + +message ShutdownResponse +{ +} diff --git a/aasdk_proto/TouchEventData.proto b/aasdk_proto/TouchEventData.proto index bfab6ba..fb7b5a6 100644 --- a/aasdk_proto/TouchEventData.proto +++ b/aasdk_proto/TouchEventData.proto @@ -1,31 +1,31 @@ /* -* This file is part of aasdk library project. -* Copyright (C) 2018 f1x.studio (Michal Szwaj) -* -* aasdk is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 3 of the License, or -* (at your option) any later version. - -* aasdk is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with aasdk. If not, see . -*/ - -syntax="proto2"; - -import "TouchLocationData.proto"; -import "TouchActionEnum.proto"; - -package f1x.aasdk.proto.data; - -message TouchEvent -{ - repeated data.TouchLocation touch_location = 1; - optional uint32 action_index = 2; - required enums.TouchAction.Enum touch_action = 3; -} +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto2"; + +import "TouchLocationData.proto"; +import "TouchActionEnum.proto"; + +package f1x.aasdk.proto.data; + +message TouchEvent +{ + repeated data.TouchLocation touch_location = 1; + optional uint32 action_index = 2; + required enums.TouchAction.Enum touch_action = 3; +} diff --git a/aasdk_proto/TouchLocationData.proto b/aasdk_proto/TouchLocationData.proto index c7c4c39..5be51fa 100644 --- a/aasdk_proto/TouchLocationData.proto +++ b/aasdk_proto/TouchLocationData.proto @@ -1,28 +1,28 @@ /* -* This file is part of aasdk library project. -* Copyright (C) 2018 f1x.studio (Michal Szwaj) -* -* aasdk is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 3 of the License, or -* (at your option) any later version. - -* aasdk is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with aasdk. If not, see . -*/ - -syntax="proto2"; - -package f1x.aasdk.proto.data; - -message TouchLocation -{ - required uint32 x = 1; - required uint32 y = 2; - required uint32 pointer_id = 3; -} +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto2"; + +package f1x.aasdk.proto.data; + +message TouchLocation +{ + required uint32 x = 1; + required uint32 y = 2; + required uint32 pointer_id = 3; +} diff --git a/aasdk_proto/VideoFocusIndicationMessage.proto b/aasdk_proto/VideoFocusIndicationMessage.proto index d6f6c29..9729db9 100644 --- a/aasdk_proto/VideoFocusIndicationMessage.proto +++ b/aasdk_proto/VideoFocusIndicationMessage.proto @@ -1,29 +1,29 @@ /* -* This file is part of aasdk library project. -* Copyright (C) 2018 f1x.studio (Michal Szwaj) -* -* aasdk is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 3 of the License, or -* (at your option) any later version. - -* aasdk is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with aasdk. If not, see . -*/ - -syntax="proto2"; - -import "VideoFocusModeEnum.proto"; - -package f1x.aasdk.proto.messages; - -message VideoFocusIndication -{ - required enums.VideoFocusMode.Enum focus_mode = 1; - required bool unrequested = 2; -} +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto2"; + +import "VideoFocusModeEnum.proto"; + +package f1x.aasdk.proto.messages; + +message VideoFocusIndication +{ + required enums.VideoFocusMode.Enum focus_mode = 1; + required bool unrequested = 2; +} diff --git a/aasdk_proto/VideoFocusModeEnum.proto b/aasdk_proto/VideoFocusModeEnum.proto index 15c3682..211e4e7 100644 --- a/aasdk_proto/VideoFocusModeEnum.proto +++ b/aasdk_proto/VideoFocusModeEnum.proto @@ -1,31 +1,31 @@ /* -* This file is part of aasdk library project. -* Copyright (C) 2018 f1x.studio (Michal Szwaj) -* -* aasdk is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 3 of the License, or -* (at your option) any later version. - -* aasdk is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with aasdk. If not, see . -*/ - -syntax="proto2"; - -package f1x.aasdk.proto.enums; - -message VideoFocusMode -{ - enum Enum - { - NONE = 0; - FOCUSED = 1; - UNFOCUSED = 2; - } -} +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto2"; + +package f1x.aasdk.proto.enums; + +message VideoFocusMode +{ + enum Enum + { + NONE = 0; + FOCUSED = 1; + UNFOCUSED = 2; + } +} diff --git a/aasdk_proto/VideoFocusReasonEnum.proto b/aasdk_proto/VideoFocusReasonEnum.proto index 1352729..0cfed3e 100644 --- a/aasdk_proto/VideoFocusReasonEnum.proto +++ b/aasdk_proto/VideoFocusReasonEnum.proto @@ -1,31 +1,31 @@ /* -* This file is part of aasdk library project. -* Copyright (C) 2018 f1x.studio (Michal Szwaj) -* -* aasdk is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 3 of the License, or -* (at your option) any later version. - -* aasdk is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with aasdk. If not, see . -*/ - -syntax="proto2"; - -package f1x.aasdk.proto.enums; - -message VideoFocusReason -{ - enum Enum - { - NONE = 0; - UNK_1 = 1; - UNK_2 = 2; - } -} +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto2"; + +package f1x.aasdk.proto.enums; + +message VideoFocusReason +{ + enum Enum + { + NONE = 0; + UNK_1 = 1; + UNK_2 = 2; + } +} diff --git a/aasdk_proto/VideoFocusRequestMessage.proto b/aasdk_proto/VideoFocusRequestMessage.proto index a1c6b1e..db52a52 100644 --- a/aasdk_proto/VideoFocusRequestMessage.proto +++ b/aasdk_proto/VideoFocusRequestMessage.proto @@ -1,31 +1,31 @@ /* -* This file is part of aasdk library project. -* Copyright (C) 2018 f1x.studio (Michal Szwaj) -* -* aasdk is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 3 of the License, or -* (at your option) any later version. - -* aasdk is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with aasdk. If not, see . -*/ - -syntax="proto2"; - -import "VideoFocusModeEnum.proto"; -import "VideoFocusReasonEnum.proto"; - -package f1x.aasdk.proto.messages; - -message VideoFocusRequest -{ - optional int32 disp_index = 1; - required enums.VideoFocusMode.Enum focus_mode = 2; - required enums.VideoFocusReason.Enum focus_reason = 3; -} +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto2"; + +import "VideoFocusModeEnum.proto"; +import "VideoFocusReasonEnum.proto"; + +package f1x.aasdk.proto.messages; + +message VideoFocusRequest +{ + optional int32 disp_index = 1; + required enums.VideoFocusMode.Enum focus_mode = 2; + required enums.VideoFocusReason.Enum focus_reason = 3; +}