DAVID4 SDK  1.8.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
MainWindowJsonRpc.h
1 //=============================================================================
2 // See License in Related Pages
3 //=============================================================================
4 
5 #pragma once
6 
7 #ifndef DAVID_SDK_MAIN_WINDOW_JSON_RPC_H
8 #define DAVID_SDK_MAIN_WINDOW_JSON_RPC_H
9 
10 #include "davidSDK/ClientJsonRpc.h"
11 
12 namespace david {
13 
14 //=============================================================================
15 // IMainWindow
16 //=============================================================================
17 
18 /// Implementation of interface 'IMainWindow'.
19 /// All calls are delegated to a JSON-RPC 2.0 client.
21 {
22 public:
23  /// Constructor.
24  /// @param[in,out] client Valid pointer to client handler.
26 
27  // See IMainWindow
28  virtual ~MainWindowJsonRpc();
29 
30  // See IMainWindow
31  virtual void Show();
32 
33  // See IMainWindow
34  virtual void Hide();
35 
36  // See IMainWindow
37  virtual void ShowMenus();
38 
39  // See IMainWindow
40  virtual void HideMenus();
41 
42 private:
43  ClientJsonRpc* m_client; ///< Handles all JsonRpc stuff.
44 };
45 
46 
47 } // namespace
48 
49 #endif // DAVID_SDK_MAIN_WINDOW_JSON_RPC_H