~kubuntu-members/kuser/4.11

511 by Szombathelyi György
Prefix file and class names with KU_ to avoid further clashes with system/KDE libs.
1
/*
2
 *  Copyright (c) 1998 Denis Perchine <dyp@perchine.com>
3
 *  Copyright (c) 2004 Szombathelyi György <gyurco@freemail.hu>
4
 *  Maintained by Adriaan de Groot <groot@kde.org>
5
 *
6
 *  This program is free software; you can redistribute it and/or
7
 *  modify it under the terms of the GNU General Public
681 by Tom Albers
RELICENSE: GPL2->GPL2+/GPL23 where waba made substantial contribution. Ignored ade which inserted license headers and contributors with just a few LOC.
8
 *  License as published by the Free Software Foundation; either
9
 *  version 2 of the License, or (at your option) any later version.
511 by Szombathelyi György
Prefix file and class names with KU_ to avoid further clashes with system/KDE libs.
10
 *
11
 *  This library is distributed in the hope that it will be useful,
12
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14
 *  Library General Public License for more details.
15
 *
16
 *  You should have received a copy of the GNU Library General Public License
17
 *  along with this library; see the file COPYING.LIB.  If not, write to
18
 *  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19
 *  Boston, MA 02110-1301, USA.
20
 **/
21
22
#ifndef _KU_GROUPFILES_H_
23
#define _KU_GROUPFILES_H_
24
25
#include <sys/types.h>
26
27
#include "ku_group.h"
28
29
class KU_GroupFiles : public KU_Groups {
30
public:
31
  KU_GroupFiles( KU_PrefsBase *cfg );
32
  virtual ~KU_GroupFiles();
33
34
  virtual bool reload();
35
  virtual bool dbcommit();
36
37
private:
38
  int gr_backuped;
39
  int gs_backuped;
40
41
  int mode, smode;
42
  uid_t uid;
43
  gid_t gid;
44
  
45
  bool save();
46
};
47
48
#endif // _KU_GROUPFILES_H_
49