1 //===-- MICmdCmdSupportList.h -----------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // Overview: CMICmdCmdSupportListFeatures interface.
12 // To implement new MI commands derive a new command class from the
14 // class. To enable the new command for interpretation add the new
16 // to the command factory. The files of relevance are:
20 // For an introduction to adding a new command see
21 // CMICmdCmdSupportInfoMiCmdQuery
22 // command class as an example.
27 #include "MICmdBase.h"
30 //============================================================================
31 // Details: MI command class. MI commands derived from the command base class.
32 // *this class implements MI command "list-features".
33 // This command does not follow the MI documentation exactly.
35 class CMICmdCmdSupportListFeatures : public CMICmdBase {
38 // Required by the CMICmdFactory when registering *this command
39 static CMICmdBase *CreateSelf();
43 /* ctor */ CMICmdCmdSupportListFeatures();
47 // From CMICmdInvoker::ICmd
48 bool Execute() override;
49 bool Acknowledge() override;
51 /* dtor */ ~CMICmdCmdSupportListFeatures() override;