From 31ff5ce755d00cf12ea2ffc96c33ed9acd36358f Mon Sep 17 00:00:00 2001 From: wang_zhiqiang Date: Wed, 21 Nov 2018 16:32:29 +0800 Subject: update doc add new sequence and update doxygen files. Change-Id: I6737939eb2628577d58b2d1d65086e46e7cb14a4 Signed-off-by: wang_zhiqiang --- doc/api-ref/html/da/dd3/hs-client_8h.html | 112 ++++++++++++++++++++++ doc/api-ref/html/da/dd3/hs-client_8h_source.html | 115 +++++++++++++++++++++++ 2 files changed, 227 insertions(+) create mode 100644 doc/api-ref/html/da/dd3/hs-client_8h.html create mode 100644 doc/api-ref/html/da/dd3/hs-client_8h_source.html (limited to 'doc/api-ref/html/da') diff --git a/doc/api-ref/html/da/dd3/hs-client_8h.html b/doc/api-ref/html/da/dd3/hs-client_8h.html new file mode 100644 index 0000000..3759dbb --- /dev/null +++ b/doc/api-ref/html/da/dd3/hs-client_8h.html @@ -0,0 +1,112 @@ + + + + + + +HomeScreenBinding: src/hs-client.h File Reference + + + + + + + + + + +
+
+ + + + + + +
+
HomeScreenBinding +
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
hs-client.h File Reference
+
+
+
#include <string>
+#include <unordered_map>
+#include "hs-helper.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  HS_Client
 
+
+ + + + diff --git a/doc/api-ref/html/da/dd3/hs-client_8h_source.html b/doc/api-ref/html/da/dd3/hs-client_8h_source.html new file mode 100644 index 0000000..84f0d3e --- /dev/null +++ b/doc/api-ref/html/da/dd3/hs-client_8h_source.html @@ -0,0 +1,115 @@ + + + + + + +HomeScreenBinding: src/hs-client.h Source File + + + + + + + + + + +
+
+ + + + + + +
+
HomeScreenBinding +
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
hs-client.h
+
+
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2018 TOYOTA MOTOR CORPORATION
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #ifndef HOMESCREEN_CLIENT_H
18 #define HOMESCREEN_CLIENT_H
19 
20 #include <string>
21 #include <unordered_map>
22 #include "hs-helper.h"
23 
24 
25 class HS_Client {
26 public:
27  HS_Client(afb_req_t request, const char* id) : HS_Client(request, std::string(id)){}
28  HS_Client(afb_req_t request, std::string id);
29  HS_Client(HS_Client&) = delete;
30  HS_Client &operator=(HS_Client&) = delete;
31  ~HS_Client();
32 
33  int tap_shortcut(const char* appid);
34  int showWindow(afb_req_t request, const char* appid);
35  int hideWindow(afb_req_t request);
36  int replyShowWindow(afb_req_t request, const char* appid);
37  int on_screen_message (afb_req_t request, const char* message);
38  int on_screen_reply (afb_req_t request, const char* message);
39  int subscribe(afb_req_t request, const char* event);
40  int unsubscribe(afb_req_t request, const char* event);
41  int showNotification(afb_req_t request);
42  int showInformation(afb_req_t request);
43 
44 private:
45  bool checkEvent(const char* event);
46 
47 private:
48  std::string my_id;
49  afb_event_t my_event;
50  bool subscription = false;
51  std::unordered_map<std::string, int> event_list;
52 
53 };
54 
55 #endif // HOMESCREEN_CLIENT_H
int subscribe(afb_req_t request, const char *event)
Definition: hs-client.cpp:139
+
HS_Client & operator=(HS_Client &)=delete
+
HS_Client(afb_req_t request, const char *id)
Definition: hs-client.h:27
+ + + +
int replyShowWindow(afb_req_t request, const char *appid)
Definition: hs-client.cpp:273
+
int on_screen_message(afb_req_t request, const char *message)
Definition: hs-client.cpp:93
+
int showInformation(afb_req_t request)
Definition: hs-client.cpp:350
+
int on_screen_reply(afb_req_t request, const char *message)
Definition: hs-client.cpp:116
+
int unsubscribe(afb_req_t request, const char *event)
Definition: hs-client.cpp:165
+
int showNotification(afb_req_t request)
Definition: hs-client.cpp:307
+ +
int showWindow(afb_req_t request, const char *appid)
Definition: hs-client.cpp:209
+
int hideWindow(afb_req_t request)
Definition: hs-client.cpp:245
+
int tap_shortcut(const char *appid)
Definition: hs-client.cpp:70
+
+ + + + -- cgit 1.2.3-korg