File: scratch-subdir-additional-header.h

package info (click to toggle)
ns3 3.47-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 106,848 kB
  • sloc: cpp: 633,577; python: 15,491; ansic: 6,773; makefile: 1,959; sh: 1,021; pascal: 632; javascript: 167; perl: 102
file content (26 lines) | stat: -rw-r--r-- 559 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * SPDX-License-Identifier: GPL-2.0-only
 */

// This header does not provide much functionality but is meant to demonstrate how,
// in a scratch subdirectory, one can create new programs that are implemented
// in multiple files and headers.

#ifndef SCRATCH_SUBDIR_ADDITIONAL_HEADER_H
#define SCRATCH_SUBDIR_ADDITIONAL_HEADER_H

#include <string>

namespace ns3
{

/**
 * Get a message from the subdir.
 *
 * @return The message from the subdir
 */
std::string ScratchSubdirGetMessage();

} // namespace ns3

#endif // SCRATCH_SUBDIR_ADDITIONAL_HEADER_H