/************************************** CManuAppCtx.h ****************************
 *                                                                                *
 *   #include "CManuAppCtx.h"                                                    *
 *   Project: MedinTux                                                            *
 *   Copyright (C) 2003 2004 2005 by Sevin Roland  and Data Medical Design        *
 *   E-Mail: data.medical.design@club-internet.fr                                 *
 *                                                                                *
 *   This program is free software; you can redistribute it and/or modify         *
 *   it under the terms of the CeCILL Version 1 du 21/06/2004                     *
 *   License (GPL compatible)                                                     *
 *                              http://www.cecill.info/                           *
 *   as published by :                                                            *
 *                                                                                *
 *   Commissariat à l'Energie Atomique                                            *
 *   - CEA,                                                                       *
 *                            31-33 rue de la Fédération, 75752 PARIS cedex 15.   *
 *                            FRANCE                                              *
 *   Centre National de la Recherche Scientifique                                 *
 *   - CNRS,                                                                      *
 *                            3 rue Michel-Ange, 75794 Paris cedex 16.            *
 *                            FRANCE                                              *
 *   Institut National de Recherche en Informatique et en Automatique             *
 *   - INRIA,                                                                     *
 *                            Domaine de Voluceau, Rocquencourt, BP 105, 78153    *
 *                            FRANCE                                              *
 *                                                                                *
 *         This program is distributed in the hope that it will be useful,        *
 *         but WITHOUT ANY WARRANTY; without even the implied warranty of         *
 *         MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.                   *
 *         CeCILL  License (GPL compatible) for more details.                     *
 *                                                                                *
 **********************************************************************************/

#ifndef CMANUAPPCTX_H
#define CMANUAPPCTX_H

#include <qstring.h>
#include <qstringlist.h>

#include "Dlg_Manu.h"
//............................... exportation des variables globales Uniques de l'application ....................................
//


//............................................. quelques définitions ..........................................................



//================================================= CManuAppCtx ==============================================================
class CManuAppCtx
{
public:
    CManuAppCtx(int argc, char ** argv);
    void PlaceWindows();
    int  GetListDoc(QStringList &lst);
    void AfficherContexte();
public:
//......................... contexte ......................................................

    QString              m_PathAppli;
    QString              m_PathRessources;

    //.................... fichiers de configuration .........................................
    QString              m_PathManuIni;
    QString              m_ManuParam;             // variable de configuration locale du .ini
    QString              m_PathCache;
    QString              m_PathDoc;
    QString              m_StartDoc;
    QString              m_SommaireDoc;
    QString              m_ListDoc;
    QString              m_PathExchg;
    QString              m_StaysOnTop;
    QStringList          m_DocList;
    int                  m_Style;
    Dlg_Manu            *m_pDlg_Manu;
    QString              m_curentPage;
    int                  m_IsQT_page;
};

#endif            // #define CMANUAPPCTX_H
