]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/tools/lldb/include/lldb/Interpreter/CommandOptionValidators.h
MFV r294491: ntp 4.2.8p6.
[FreeBSD/FreeBSD.git] / contrib / llvm / tools / lldb / include / lldb / Interpreter / CommandOptionValidators.h
1 //===-- CommandOptionValidators.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_CommandOptionValidators_h_
11 #define liblldb_CommandOptionValidators_h_
12
13 #include "lldb/lldb-private-types.h"
14
15 namespace lldb_private {
16
17 class Platform;
18 class ExecutionContext;
19
20 class PosixPlatformCommandOptionValidator : public OptionValidator
21 {
22     virtual bool IsValid(Platform &platform, const ExecutionContext &target) const;
23     virtual const char* ShortConditionString() const;
24     virtual const char* LongConditionString() const;
25 };
26
27 } // namespace lldb_private
28
29
30 #endif  // liblldb_CommandOptionValidators_h_