Shaka Packager SDK
packager
app
validate_flag.cc
1
// Copyright 2014 Google Inc. All rights reserved.
2
//
3
// Use of this source code is governed by a BSD-style
4
// license that can be found in the LICENSE file or at
5
// https://developers.google.com/open-source/licenses/bsd
6
//
7
// Flag validation help functions.
8
9
#include "packager/app/validate_flag.h"
10
11
#include <stdio.h>
12
13
namespace
shaka
{
14
15
void
PrintError
(
const
std::string& error_message) {
16
fprintf(stderr,
"ERROR: %s\n"
, error_message.c_str());
17
}
18
19
void
PrintWarning
(
const
std::string& warning_message) {
20
fprintf(stderr,
"WARNING: %s\n"
, warning_message.c_str());
21
}
22
23
}
// namespace shaka
shaka::PrintError
void PrintError(const std::string &error_message)
Definition:
validate_flag.cc:15
shaka
All the methods that are virtual are virtual for mocking.
Definition:
gflags_hex_bytes.cc:11
shaka::PrintWarning
void PrintWarning(const std::string &warning_message)
Definition:
validate_flag.cc:19
Generated on Tue Jun 22 2021 00:16:03 for Shaka Packager SDK by
1.8.17