ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/poly_occ/src/poly_affiche.cpp
Revision: 1019
Committed: Tue Jun 4 21:16:50 2019 UTC (5 years, 11 months ago) by francois
File size: 309 byte(s)
Log Message:
restructuration de magic
outil est sorti de lib pour pouvoir etre utiliser en dehors de lib
template est merge avec outil
poly_occ et un sous projet de magic qui utilise le nouveau outil

File Contents

# User Rev Content
1 francois 1009 #include "poly_affiche.h"
2    
3    
4    
5     POLY_AFFICHE::POLY_AFFICHE():affichageactif(0)
6     {
7     }
8    
9     POLY_AFFICHE::~POLY_AFFICHE()
10     {
11    
12     }
13    
14    
15     void POLY_AFFICHE::active_affichage(fonction_affiche *fonc)
16     {
17     affiche2=fonc;
18     affichageactif=1;
19     }
20    
21     void POLY_AFFICHE::affiche(char *mess)
22     {
23     if (affichageactif==1) affiche2(mess);
24     }