[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdelibs/ksecretsservice] /: Dialog for ACL handling and assorted
From: Valentin Rusu <kde () rusu ! info>
Date: 2011-09-04 15:26:47
Message-ID: 20110904152647.AF46FA60E4 () git ! kde ! org
[Download RAW message or body]
Git commit 249d550e94443be8665d00b4a4550c1ec1b3a8ca by Valentin Rusu.
Committed on 01/11/2010 at 07:54.
Pushed by vrusu into branch 'ksecretsservice'.
Dialog for ACL handling and assorted tests. Unlock test fails though - perhaps \
collection lock/unlock on my copy needs revision
svn path=/trunk/playground/base/ksecretservice/; revision=1191747
M +3 -3 peer.h
A +35 -0 acl.h [License: GPL (v2/3)]
http://commits.kde.org/kdelibs/249d550e94443be8665d00b4a4550c1ec1b3a8ca
diff --git a/acl.h b/acl.h
new file mode 100644
index 0000000..2b30623
--- /dev/null
+++ b/acl.h
@@ -0,0 +1,35 @@
+/*
+ * Copyright (C) 2010 Valentin Rusu <kde@rusu.info>
+ *
+ * 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) version 3 or any later version
+ * accepted by the membership of KDE e.V. (or its successor approved
+ * by the membership of KDE e.V.), which shall act as a proxy
+ * defined in Section 14 of version 3 of the license.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef ACL_H
+#define ACL_H
+
+/**
+* Application permissions stored inside the backend file
+*/
+enum ApplicationPermission {
+ PermissionUndefined = -1, /// invalid value used to detect code inconsistencies
+ PermissionAsk = 0, /// ask every time
+ PermissionDeny = 1, /// deny every time
+ PermissionAllow = 2 /// always allow
+};
+
+
+#endif // ACL_H
diff --git a/peer.h b/peer.h
index d05b3ff..8e0c69d 100644
--- a/peer.h
+++ b/peer.h
@@ -18,8 +18,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef DEAMON_PEER_H
-#define DEAMON_PEER_H
+#ifndef DAEMON_PEER_H
+#define DAEMON_PEER_H
#include <QtCore/QtGlobal>
#include <QtCore/QSharedDataPointer>
@@ -92,5 +92,5 @@ private:
QSharedDataPointer<PeerData> d;
};
-#endif // DEAMON_PEER_H
+#endif // DAEMON_PEER_H
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic