Proof-reading - fixed one usage of the i18n plural form (it wasn't doing before,...
[kdeadmin.git] / kuser / ku_groupfiles.h
blobe63c1e5ffa0de344f49a65535adabdc9b0ff7b94
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>
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
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.
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 **/
22 #ifndef _KU_GROUPFILES_H_
23 #define _KU_GROUPFILES_H_
25 #include <sys/types.h>
27 #include "ku_group.h"
29 class KU_GroupFiles : public KU_Groups {
30 public:
31 KU_GroupFiles( KU_PrefsBase *cfg );
32 virtual ~KU_GroupFiles();
34 virtual bool reload();
35 virtual bool dbcommit();
37 private:
38 int gr_backuped;
39 int gs_backuped;
41 int mode, smode;
42 uid_t uid;
43 gid_t gid;
45 bool save();
48 #endif // _KU_GROUPFILES_H_