1 //===-- PlatformRemoteAppleWatch.h ------------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLDB_SOURCE_PLUGINS_PLATFORM_MACOSX_PLATFORMREMOTEAPPLEWATCH_H
10 #define LLDB_SOURCE_PLUGINS_PLATFORM_MACOSX_PLATFORMREMOTEAPPLEWATCH_H
11 
12 #include <string>
13 #include <vector>
14 
15 #include "lldb/Utility/FileSpec.h"
16 
17 #include "PlatformRemoteDarwinDevice.h"
18 
19 #include "llvm/Support/FileSystem.h"
20 
21 class PlatformRemoteAppleWatch : public PlatformRemoteDarwinDevice {
22 public:
23   PlatformRemoteAppleWatch();
24 
25   // Class Functions
26   static lldb::PlatformSP CreateInstance(bool force,
27                                          const lldb_private::ArchSpec *arch);
28 
29   static void Initialize();
30 
31   static void Terminate();
32 
33   static lldb_private::ConstString GetPluginNameStatic();
34 
35   static const char *GetDescriptionStatic();
36 
37   // lldb_private::Platform functions
38 
GetDescription()39   const char *GetDescription() override { return GetDescriptionStatic(); }
40 
41   // lldb_private::PluginInterface functions
GetPluginName()42   lldb_private::ConstString GetPluginName() override {
43     return GetPluginNameStatic();
44   }
45 
46   // lldb_private::Platform functions
47 
48   bool GetSupportedArchitectureAtIndex(uint32_t idx,
49                                        lldb_private::ArchSpec &arch) override;
50 
51 protected:
52   llvm::StringRef GetDeviceSupportDirectoryName() override;
53   llvm::StringRef GetPlatformName() override;
54 };
55 
56 #endif // LLDB_SOURCE_PLUGINS_PLATFORM_MACOSX_PLATFORMREMOTEAPPLEWATCH_H
57