/* Copyright (C) 2010 Nokia Corporation. All rights reserved. Copyright (C) 2013-2016 Jolla Ltd. Author: Philippe De Swert Author: Vesa Halttunen Author: Simo Piiroinen This program is free software; you can redistribute it and/or modify it under the terms of the Lesser GNU General Public License version 2 as published by the Free Software Foundation. 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 Lesser GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ /* * Interacts with the devicelock to know if we can expose the system contents or not */ /*============================================================================= */ #define DEVICELOCK_SERVICE "org.nemomobile.devicelock" #define DEVICELOCK_OBJECT "/devicelock" #define DEVICELOCK_INTERFACE "org.nemomobile.lipstick.devicelock" #define DEVICELOCK_GET_STATE_REQ "state" #define DEVICELOCK_STATE_CHANGED_SIG "stateChanged" #define DEVICELOCK_STATE_CHANGED_MATCH\ "type='signal'"\ ",interface='"DEVICELOCK_INTERFACE"'"\ ",path='"DEVICELOCK_OBJECT"'"\ ",member='"DEVICELOCK_STATE_CHANGED_SIG"'" #define DEVICELOCK_NAME_OWNER_CHANGED_MATCH\ "type='signal'"\ ",interface='"DBUS_INTERFACE_DBUS"'"\ ",member='"DBUS_NAME_OWNER_CHANGED_SIG"'"\ ",arg0='"DEVICELOCK_SERVICE"'"