/usr/include/givaro/givinit.h is in libgivaro-dev 4.0.2-8ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | // ==========================================================================
// $Source: /var/lib/cvs/Givaro/src/kernel/system/givinit.h,v $
// Copyright(c)'1994-2009 by The Givaro group
// This file is part of Givaro.
// Givaro is governed by the CeCILL-B license under French law
// and abiding by the rules of distribution of free software.
// see the COPYRIGHT file for more details.
// Authors: T. Gautier
// $Id: givinit.h,v 1.3 2011-02-02 16:23:56 briceboyer Exp $
// ==========================================================================
/** @file givinit.h
* @ingroup system
* @brief NO DOC
*/
#ifndef __GIVARO_init_H
#define __GIVARO_init_H
#include "givaro/givconfig.h"
#include <iostream>
//! Namespace in which the whole Givaro library resides.
namespace Givaro {
// ==========================================================================
/** Initialisation of GIVARO .
* - handler to manage signal
* - init the memory manager
* - init all other modules
* .
*/
class GivaroMain {
public:
//- Init of Givaro kernel :
static void Init(int* argc, char*** argv) ;
static void Init() ;
//- End of Givaro kernel :
static void End() ;
//- Return the version of the library
static const char* Version() ;
// Display the prompt of Givaro
static void DisplayVersion( std::ostream& ) ;
static void DisplayVersion();
} ;
// ==========================================================================
// --
//! Main application class
//! Could be not used
class GivaroAppli : public GivaroMain {
public:
//- Cstor, destor
GivaroAppli() {};
virtual ~GivaroAppli(){};
//- main: must redefined by derived class
virtual int main(int argc=0, char**argv=0) = 0;
//- run: must be call by the user on its application object
int run( int argc=0, char** argv=0);
};
} // namespace Givaro
#endif // __GIVARO_init_H
// vim:sts=8:sw=8:ts=8:noet:sr:cino=>s,f0,{0,g0,(0,\:0,t0,+0,=s
|