source: trunk/src/core/RpUtils.h @ 656

Last change on this file since 656 was 656, checked in by dkearney, 17 years ago

added progress function for c, c++ and fortran, so people dont have to generate the cryptic progress string themselves to get a progress bar in the gui.

File size: 789 bytes
Line 
1/*
2 * ======================================================================
3 *  Rappture::Utils
4 *
5 *  AUTHOR:  Derrick Kearney, Purdue University
6 *
7 *  Copyright (c) 2004-2007  Purdue Research Foundation
8 * ----------------------------------------------------------------------
9 *  See the file "license.terms" for information on usage and
10 *  redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
11 * ======================================================================
12 */
13
14#ifndef RAPPTURE_UTILS_H
15#define RAPPTURE_UTILS_H
16
17#ifdef __cplusplus
18extern "C" {
19namespace Rappture {
20#endif // ifdef __cplusplus
21
22
23int progress(int percent, const char* text);
24
25
26#ifdef __cplusplus
27} // namespace Rappture
28} // extern C
29#endif // ifdef __cplusplus
30
31#endif // RAPPTURE_UTILS_H
Note: See TracBrowser for help on using the repository browser.