You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
407 B
24 lines
407 B
// uidstr.h
|
|
//
|
|
// This program is free software. See the file COPYING for details.
|
|
// Author: Mattias Engdegård, 1997-1999
|
|
|
|
#ifndef UIDSTR_H
|
|
#define UIDSTR_H
|
|
|
|
#include <QHash>
|
|
#include <QString>
|
|
|
|
class Uidstr
|
|
{
|
|
public:
|
|
static QString userName(int uid);
|
|
static QString groupName(int gid);
|
|
|
|
private:
|
|
static QHash<int, char *> udict;
|
|
static QHash<int, char *> gdict;
|
|
};
|
|
|
|
#endif // UIDSTR_H
|