/****************************************************************************
**
** $Id: xserver.h,v 1.1 2002/04/13 08:22:02 elter Exp $
**
** Copyright (C) 1999 Calderasystems, Inc
** All rights reserved.
**
** This file is part of the Caldera OpenLinux Installer.
** Original Implementation: 1999 by Troll Tech AS
**
** This file may be distributed under the terms of the Q Public License
** as defined by Troll Tech AS of Norway and appearing in the file
** LICENSE included in the packaging of this file.
**
*****************************************************************************/
#ifndef XSERVER_H
#define XSERVER_H

#include <qstring.h>

class LXServer
{
  public:
    static bool runServer( const QString &configFile );
    static void stopServer();

    static LXServer *self() { return _instance; }

  private:

    LXServer( const QString &configFile );
    ~LXServer();

    bool r;
    int xpid, lwmpid;

    static LXServer *_instance;
};


#endif
