/*
*
* ProLinga-UI
*
* Copyright (C) 2002-2008 Xobas Software.
* All rights reserved.
*
* This file is part of ProLinga-UI.
*
* ProLinga-UI is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* ProLinga-UI 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. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with ProLinga-UI. If not, see .
*
* More information is available at the following addresses:
*
* Website : http://www.prolinga.org
*
* Email : prolinga-list@prolinga.org
*
*
*/
#ifndef __UI_HPP
#define __UI_HPP
/* Declarations libxml 2 */
#include
#include
/* End declarations libxml 2 */
/* Class for the execution of an UI Command */
class PlUI
{
public:
PlUI();
~PlUI();
void uiOpen(const char *configFileName, int argc, char **argv);
void uiClose(void);
xmlDocPtr executeCommand(const xmlDocPtr uiRequest);
private:
bool isUIOpen;
};
typedef PlUI *PlUIPtr;
#endif /* __UI_HPP */