1 //===-- PlatformAndroid.h ---------------------------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 
10 #ifndef liblldb_PlatformAndroid_h_
11 #define liblldb_PlatformAndroid_h_
12 
13 // C Includes
14 // C++ Includes
15 // Other libraries and framework includes
16 // Project includes
17 #include "Plugins/Platform/Linux/PlatformLinux.h"
18 
19 namespace lldb_private {
20 
21     class PlatformAndroid : public PlatformLinux
22     {
23     public:
24         static void
25         Initialize ();
26 
27         static void
28         Terminate ();
29 
30         PlatformAndroid (bool is_host);
31 
32         virtual
33         ~PlatformAndroid();
34 
35         //------------------------------------------------------------
36         // lldb_private::PluginInterface functions
37         //------------------------------------------------------------
38         static lldb::PlatformSP
39         CreateInstance (bool force, const lldb_private::ArchSpec *arch);
40 
41         static lldb_private::ConstString
42         GetPluginNameStatic (bool is_host);
43 
44         static const char *
45         GetPluginDescriptionStatic (bool is_host);
46 
47         lldb_private::ConstString
48         GetPluginName() override;
49 
50         uint32_t
51         GetPluginVersion() override
52         {
53             return 1;
54         }
55 
56         //------------------------------------------------------------
57         // lldb_private::Platform functions
58         //------------------------------------------------------------
59 
60         lldb_private::Error
61         ConnectRemote (lldb_private::Args& args) override;
62 
63     private:
64         DISALLOW_COPY_AND_ASSIGN (PlatformAndroid);
65     };
66 } // namespace lldb_private
67 
68 #endif  // liblldb_PlatformAndroid_h_
69