|
Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
|
#include "target.h"

Go to the source code of this file.
Enumerations | |
| enum | OutputFmt { FMT_PLAIN = 0 , FMT_XTERM , FMT_VERBOSE , FMT_INDEP , FMT_HTML } |
Functions | |
| void | set_output_format (enum OutputFmt format) |
Variables | |
| void(* | set_header )(const char *format) |
| void(* | print_header )(const char *const argv[]) |
| void(* | print_target )(const struct target_opts *options) |
| void(* | set_progress )(int time) |
| void(* | print_status )(const struct target_status *status) |
| void(* | print_footer )(int count, const struct target_status *status) |
| enum OutputFmt |
display.h - Interface declaration for the result display subsystem
$Id$
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Output format mode enumeration.
Used to determine the mode used in producing output.
| Enumerator | |
|---|---|
| FMT_PLAIN | plain text output. |
| FMT_XTERM | xterm colored output. |
| FMT_VERBOSE | verbose text output. |
| FMT_INDEP | Non-targeted formated output. |
| FMT_HTML | HTML formated output. |
| void set_output_format | ( | enum OutputFmt | format | ) |
Sets the output functions referenced.
Definition at line 371 of file display.cpp.
|
extern |
Prints the closing formatting for the table.
Definition at line 394 of file display.cpp.
|
extern |
Prints the table preamble formatting, followed by the formatted header row.
Definition at line 391 of file display.cpp.
|
extern |
Prints the formatted results for a target row.
| status | describes the results of the run |
Definition at line 393 of file display.cpp.
|
extern |
Prints the formatted header column for a target row.
This method uses the target_name global (defined in cmdopt.h), and flushes stdout after printing.
Definition at line 392 of file display.cpp.
|
extern |
Sets the column order and widths (if applicable) for output.
| format | custom format string for output. |
|
extern |
Updates the display of a (non-final) status indicator
This function is only useful for FMT_XTERM.
| time | 0 > time indicates -signal number, otherwise time remaining |