Distribution.h File Reference

Distribution class. More...

#include <stdio.h>
#include <sys/utsname.h>
#include "../common/UnicodeString.h"
#include "../common/XMLFileOutput.h"
#include "../common/MessageReporter.h"
#include "Packager.h"
#include "DefaultPackager.h"

Go to the source code of this file.

Namespaces

namespace  hwdet

Data Structures

class  hwdet::Distribution
 Distribution specific code. More...

Defines

#define AUTO_FREE_PACKAGERS   1
#define KERNEL_VERSION_CODE(major, minor, release)   (0x10000 * (major) + 0x100 * (minor) + (release))
 Calculate kernel version code from version numbers supplied by the uname.


Detailed Description

Distribution class.

Author:
Branislav Repcek
Date:
14. 12. 2006

Define Documentation

#define AUTO_FREE_PACKAGERS   1

Set this to non-zero value to enable automatic destruction of the packagers registered by the user. Set this to zero if you use custom allocator or if you want to keep packagers after the distribution class is destroyed.

#define KERNEL_VERSION_CODE ( major,
minor,
release   )     (0x10000 * (major) + 0x100 * (minor) + (release))

Calculate kernel version code from version numbers supplied by the uname.


Generated on Tue Dec 19 17:43:51 2006 for Detector for Linux by  doxygen 1.4.7