コード例 #1
0
void printDeviceUsage(OutputStream* outputStream, Device* device, bool showOnlyProblem) {
    char header;
    // We start after special characters and use only ANSI chars
    for (header = 32; header < 127; header++) {
        printDeviceUsageLine(outputStream, header, device, showOnlyProblem);
    }
}
コード例 #2
0
void printDeviceUsage(OutputStream* outputStream, Device* device, bool showOnlyProblem) {
	printDeviceHeader(outputStream, device);
    unsigned char header;
    // We start after special characters and use only ANSI chars
	// We must search, because there is no list of header provided, we provide a char, and after this is catch (or not) by the device
    for (header = 32; header < 127; header++) {
        printDeviceUsageLine(outputStream, header, device, showOnlyProblem);
    }
}