fce4895d18
- Add subfolder src/kits/debugger which contains the debugger's core functionality and lower layers. Correspondingly add headers/private/debugger for shared headers to be used by clients such as the Debugger application and eventual remote_debug_server. Adjust various files to account for differences as a result of the split and moves. - Add libdebugger.so to minimal Jamfile.
41 lines
945 B
C++
41 lines
945 B
C++
/*
|
|
* Copyright 2016, Rene Gollent, rene@gollent.com.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef TARGET_HOST_INTERFACE_INFO_H
|
|
#define TARGET_HOST_INTERFACE_INFO_H
|
|
|
|
#include <String.h>
|
|
|
|
#include <Referenceable.h>
|
|
#include <util/DoublyLinkedList.h>
|
|
|
|
|
|
class Settings;
|
|
class SettingsDescription;
|
|
class TargetHostInterface;
|
|
|
|
|
|
class TargetHostInterfaceInfo : public BReferenceable {
|
|
public:
|
|
TargetHostInterfaceInfo(const BString& name);
|
|
virtual ~TargetHostInterfaceInfo();
|
|
|
|
const BString& Name() const { return fName; }
|
|
|
|
virtual status_t Init() = 0;
|
|
|
|
virtual bool IsLocal() const = 0;
|
|
virtual bool IsConfigured(Settings* settings) const = 0;
|
|
virtual SettingsDescription* GetSettingsDescription() const = 0;
|
|
|
|
virtual status_t CreateInterface(Settings* settings,
|
|
TargetHostInterface*& _interface) const
|
|
= 0;
|
|
|
|
private:
|
|
BString fName;
|
|
};
|
|
|
|
#endif // TARGET_HOST_INTERFACE_INFO_H
|