/***************************************************************************
global.h - description
-------------------
begin : Sat Mar 20 1999
copyright : (C) 1999 by Richard Moore
email : rich@kde.org
***************************************************************************/
/***************************************************************************
* *
* This program 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 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef GLOBAL_H
#define GLOBAL_H
#include <kapp.h>
#include <kiconloader.h>
#include "componentmanager.h"
#define MINIICON(x) kapp->getIconLoader()->loadMiniIcon(x)
/**
* A class for holding the global variables. This ensures that the global
* variables are safely tucked away inside a namespace.
*
* @author Richard Moore
*/
class Global {
public:
static ComponentManager *getComponentManager();
};
#endif
Documentation generated by rich@pegasus on Sat Apr 17 17:09:53 BST 1999